Merge branch 'master' of https://github.com/lykoss/lykos
Conflicts: modules/wolfgame.py
This commit is contained in:
commit
8c772af3ef
@ -4570,14 +4570,16 @@ def _faftergame(cli, nick, chan, rest):
|
||||
def faftergame(cli, nick, rest):
|
||||
_faftergame(cli, nick, botconfig.CHANNEL, rest)
|
||||
|
||||
@pmcmd("fghost", owner_only=True)
|
||||
@cmd("fghost", owner_only=True)
|
||||
def fghost(cli, nick, *rest):
|
||||
cli.msg(botconfig.CHANNEL, nick + " is the ghost!")
|
||||
cli.mode(botconfig.CHANNEL, "+v", nick)
|
||||
|
||||
@pmcmd("funghost", owner_only=True)
|
||||
@cmd("funghost", owner_only=True)
|
||||
@cmd('fghost', admin_only=True)
|
||||
@pmcmd('fghost', admin_only=True)
|
||||
def fghost(cli, nick, *rest):
|
||||
cli.msg(botconfig.CHANNEL, '{} is the ghost!'.format(nick))
|
||||
cli.mode(botconfig.CHANNEL, '+v', nick)
|
||||
|
||||
|
||||
@cmd('funghost', admin_only=True)
|
||||
@pmcmd('funghost', admin_only=True)
|
||||
def funghost(cli, nick, *rest):
|
||||
cli.mode(botconfig.CHANNEL, "-v", nick)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user