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:
@@ -50,7 +50,9 @@ class MessageHubService:
|
||||
f"Incorrect number of arguments for handler '{callback.__module__}.{callback.__name__}()'")
|
||||
|
||||
if destination in self.hub:
|
||||
raise Exception(f"Message hub destination '{destination}' already subscribed")
|
||||
self.logger.error(f"Message hub destination '{destination}' already subscribed")
|
||||
return
|
||||
# raise Exception(f"Message hub destination '{destination}' already subscribed")
|
||||
|
||||
for source in default_sources:
|
||||
if source not in self.sources:
|
||||
|
||||
Reference in New Issue
Block a user