get rid of the MessageDistributor module... & update discord, to work with API v10
Added discord commands (issue: as they're running over the event hub, they're processed on the same track as other events. => activity ingame triggers the next run; otherwise there's some delay for responses) relay is a standard module now.
This commit is contained in:
@@ -76,9 +76,6 @@ class RaidbotController(BaseModule):
|
||||
self.account_service: AccountService = registry.get_instance("account_service")
|
||||
self.buddy_service: BuddyService = registry.get_instance("buddy_service")
|
||||
|
||||
def pre_start(self):
|
||||
self.event_service.register_event_type("RAID_END")
|
||||
|
||||
@event("connect", "Adds all raiders to buddylist")
|
||||
def connect(self, _, _1):
|
||||
query = self.db.query("SELECT char_id, member from account where member != -1 and disabled = 0")
|
||||
|
||||
Reference in New Issue
Block a user