3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-02 23:54:08 +01:00

bots: map 'msg' command to 'say' too

This commit is contained in:
James Lu 2016-03-07 21:37:08 -08:00
parent b6889fb097
commit 359bfcd9da

View File

@ -220,3 +220,4 @@ def msg(irc, source, args):
irc.proto.message(sourceuid, real_target, text)
irc.callHooks([sourceuid, 'PYLINK_BOTSPLUGIN_MSG', {'target': real_target, 'text': text, 'parse_as': 'PRIVMSG'}])
utils.add_cmd(msg, 'say')