mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
Update plugin.py (#5)
* Update plugin.py Add the correct wire in the kick message if `self.showCorrectWire` is set to True * Update plugin.py Fixed some coding errors
This commit is contained in:
parent
07fd4c5a1a
commit
f764d5aff9
@ -175,7 +175,10 @@ class TimeBomb(callbacks.Plugin):
|
||||
self.irc.sendMsg(ircmsgs.privmsg(self.channel, '\x031,1.......\x034,1`-=\x037,1#$\x038,1%&\x037,1%$#\x034,1=-\'\x031,1........'))
|
||||
else:
|
||||
self.irc.sendMsg(ircmsgs.privmsg(self.channel, 'KABOOM!'))
|
||||
self.irc.queueMsg(ircmsgs.kick(self.channel, self.victim, 'BOOM!'))
|
||||
if self.showCorrectWire:
|
||||
self.irc.queueMsg(ircmsgs.kick(self.channel, self.victim, 'BOOM! You should\'ve gone for the {} wire!'.format(self.goodWire)))
|
||||
else:
|
||||
self.irc.queueMsg(ircmsgs.kick(self.channel, self.victim, 'BOOM!'))
|
||||
|
||||
def reinvite():
|
||||
if self.victim not in irc.state.channels[self.channel].users:
|
||||
|
Loading…
x
Reference in New Issue
Block a user