Add the ghost commands
This commit is contained in:
parent
2de768ab44
commit
cd36e277ac
@ -2665,6 +2665,16 @@ def _faftergame(cli, nick, chan, rest):
|
|||||||
def faftergame(cli, nick, rest):
|
def faftergame(cli, nick, rest):
|
||||||
_faftergame(cli, nick, botconfig.CHANNEL, 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)
|
||||||
|
def funghost(cli, nick, *rest):
|
||||||
|
cli.mode(botconfig.CHANNEL, "-v", nick)
|
||||||
|
|
||||||
@pmcmd("flastgame", admin_only=True, raw_nick=True)
|
@pmcmd("flastgame", admin_only=True, raw_nick=True)
|
||||||
def flastgame(cli, nick, rest):
|
def flastgame(cli, nick, rest):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user