Allow !v as a shorthand for !votes in join phase too
This commit is contained in:
parent
eb724bb3fc
commit
58eb321d3e
@ -7104,9 +7104,10 @@ game.__doc__ = game_help
|
||||
|
||||
@cmd("vote", "v", pm=True)
|
||||
def vote(cli, nick, chan, rest):
|
||||
if rest:
|
||||
if var.PHASE == "join" and chan != nick:
|
||||
return game(cli, nick, chan, rest)
|
||||
elif rest:
|
||||
else:
|
||||
return lynch(cli, nick, chan, rest)
|
||||
else:
|
||||
return show_votes(cli, nick, chan, rest)
|
||||
|
Loading…
Reference in New Issue
Block a user