|
|
@@ -15,7 +15,11 @@ def process_event(self, connection, event):
|
|
|
queries.increment_kick(self, channel.id, kicker.id, kicked.id)
|
|
|
|
|
|
if kicked.name == connection.get_nickname() or kicked.name == self.network.nickname:
|
|
|
- connection.action(self.network.home_channel, 'just got kicked from: %s%s' % (font.red, event.target))
|
|
|
+ connection.action(self.network.home_channel, 'just got kicked from %s%s %sby %s%s' % (font.red, event.target, font.reset, font.red, event.source.nick))
|
|
|
+ connection.privmsg(event.source.nick, 'Sorry you needed to kick me. Bot\'s should serve those who enjoy it, without annoying anyone. Any channelOP can use the !settings command to change my settings.')
|
|
|
+ temp_key = queries.create_tempchannelkey(self, channel.id)
|
|
|
+ connection.privmsg(event.source.nick, 'Here is a temp 10 minute link for %s%s%s:%s %schannelsettings/%s' % (event.target, font.red, event.target, font.reset, self.webgui['base_ur'], temp_key))
|
|
|
+ connection.privmsg(event.source.nick, 'If you have any complaints, suggestions or want me back in %s%s%s contact an operator of: %s%s' % (font.red, event.target, font.reset, font.red, self.network.home_channel))
|
|
|
|
|
|
# # Update protectees if needed.
|
|
|
# if channel == self.homechannel: # Kicked from home channel
|