source: protocols/python/examples/sampleplugin.py @ e38c6d8

Last change on this file since e38c6d8 was e38c6d8, checked in by Nick Murdoch <nick@…>, at 2013-03-17T16:49:05Z

Register an (incomplete) plugin per python file found, with name based on module's 'name' variable.

  • Property mode set to 100644
File size: 285 bytes
Line 
1"""sampleplugin.py - sample plugin for bitlbee-python.
2
3Place this file in bitlbee's plugin directory. bitlbee-python
4will pick it up as long as it has a .py extension.
5"""
6
7import sys
8print "hello, I'm a test plugin running on Python", sys.version_info
9
10# plugin name:
11name = 'moose'
Note: See TracBrowser for help on using the repository browser.