mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 12:12:53 +01:00
8 lines
220 B
Python
8 lines
220 B
Python
|
import sys, os
|
||
|
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||
|
import proto
|
||
|
|
||
|
@proto.add_cmd
|
||
|
def hello(irc, source, command, args):
|
||
|
proto._sendFromUser(irc, 'PRIVMSG %s :hello!' % source)
|