mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added vee2d2's roulette w/out ops idea.
This commit is contained in:
parent
953e79e458
commit
6049e4c586
@ -349,6 +349,10 @@ class Fun(callbacks.Privmsg):
|
||||
if not ircutils.isChannel(channel):
|
||||
irc.error('This message must be sent in a channel.')
|
||||
if random.randint(1, 6) == 1:
|
||||
if irc.nick not in irc.state.channels[channel].ops:
|
||||
irc.reply('*BANG* Hey, who put a blank in here?!',
|
||||
prefixName=False)
|
||||
else:
|
||||
irc.queueMsg(ircmsgs.kick(channel, nick, 'BANG!'))
|
||||
else:
|
||||
irc.reply('*click*')
|
||||
|
Loading…
Reference in New Issue
Block a user