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:
parent
54dc51aed4
commit
1ce2725f1e
@ -202,7 +202,7 @@ def msg(irc, source, args):
|
|||||||
target = args[0]
|
target = args[0]
|
||||||
text = ' '.join(args[1:])
|
text = ' '.join(args[1:])
|
||||||
except IndexError:
|
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
|
return
|
||||||
|
|
||||||
if not text:
|
if not text:
|
||||||
|
Loading…
Reference in New Issue
Block a user