f{after,last}game: Show the arguments to the command
This commit is contained in:
parent
7b68f56359
commit
3f3cc99a83
@ -6911,8 +6911,13 @@ def aftergame(cli, rawnick, chan, rest):
|
|||||||
do_action()
|
do_action()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
fullcmd = cmd
|
||||||
|
if rst:
|
||||||
|
fullcmd += " "
|
||||||
|
fullcmd += " ".join(rst)
|
||||||
|
|
||||||
cli.msg(botconfig.CHANNEL, ("The command \02{0}\02 has been scheduled to run "+
|
cli.msg(botconfig.CHANNEL, ("The command \02{0}\02 has been scheduled to run "+
|
||||||
"after this game by \02{1}\02.").format(cmd, nick))
|
"after this game by \02{1}\02.").format(fullcmd, nick))
|
||||||
var.AFTER_FLASTGAME = do_action
|
var.AFTER_FLASTGAME = do_action
|
||||||
|
|
||||||
@cmd("fghost", admin_only=True, pm=True)
|
@cmd("fghost", admin_only=True, pm=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user