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:
@@ -3,6 +3,7 @@ import re
|
||||
import time
|
||||
from threading import Thread
|
||||
|
||||
import datetime
|
||||
import requests
|
||||
|
||||
from core.buddy_service import BuddyService
|
||||
@@ -359,4 +360,8 @@ class OrgController:
|
||||
if len(current) > 10:
|
||||
out.append(current)
|
||||
if len(out) > 0:
|
||||
self.relay_hub_service.send_message("member_logger", None, out, out)
|
||||
y = 0
|
||||
for x in out:
|
||||
y += 1
|
||||
blob = ChatBlob(f"Recent changes - {datetime.date.today()} - ({y}/{len(out)})", x, embed=True)
|
||||
self.relay_hub_service.send_message("member_logger", None, blob, blob)
|
||||
|
||||
Reference in New Issue
Block a user