Conflicts:
	modules/wolfgame.py
This commit is contained in:
skizzerz 2014-07-19 17:50:47 -05:00
commit 8c772af3ef

View File

@ -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)