3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-11 20:52:42 +01:00

bots: update help for 'msg' command (reflect changes made for #161)

This commit is contained in:
James Lu 2016-02-27 19:07:03 -08:00
parent 54dc51aed4
commit 1ce2725f1e

View File

@ -202,7 +202,7 @@ def msg(irc, source, args):
target = args[0]
text = ' '.join(args[1:])
except IndexError:
irc.reply('Error: Not enough arguments. Needs 3: source nick, target, text.')
irc.reply('Error: Not enough arguments. Needs 2-3: source nick (optional), target, text.')
return
if not text: