Added afk/brb
Timer messages ("Timer XX has yyy left") now get resumed after a bot restart
Alliance relay is discord compatible now. [Orgbot]
This commit is contained in:
@@ -88,7 +88,10 @@ class OrgChannelController:
|
||||
self.bot.send_org_message(msg, fire_outgoing_event=False)
|
||||
|
||||
self.message_hub_service.send_message(self.MESSAGE_SOURCE, None, None, "[<cyan>Org</cyan>] " + msg)
|
||||
od = OnlineDisplay(self.text, self.util, self.db)
|
||||
afk_list = []
|
||||
if self.online_controller:
|
||||
afk_list = self.online_controller.afk_list
|
||||
od = OnlineDisplay(self.text, self.util, self.db, afk_list)
|
||||
params = [self.bot.name, self.bot.get_char_id()]
|
||||
self.bot.send_mass_message(event_data.packet.char_id,
|
||||
od.format_blob(od.format_by_channel_main("and channel_id IN (1, 2) ", params)))
|
||||
|
||||
Reference in New Issue
Block a user