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:
2022-04-15 17:05:30 +02:00
parent fd84d82af2
commit a3a26f2ba4
32 changed files with 1036 additions and 729 deletions
+3 -1
View File
@@ -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: