mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Added vee2d2's roulette w/out ops idea.
This commit is contained in:
parent
953e79e458
commit
6049e4c586
@ -349,7 +349,11 @@ class Fun(callbacks.Privmsg):
|
|||||||
if not ircutils.isChannel(channel):
|
if not ircutils.isChannel(channel):
|
||||||
irc.error('This message must be sent in a channel.')
|
irc.error('This message must be sent in a channel.')
|
||||||
if random.randint(1, 6) == 1:
|
if random.randint(1, 6) == 1:
|
||||||
irc.queueMsg(ircmsgs.kick(channel, nick, 'BANG!'))
|
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:
|
else:
|
||||||
irc.reply('*click*')
|
irc.reply('*click*')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user