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:
+2
-1
@@ -1,9 +1,10 @@
|
||||
class ChatBlob:
|
||||
def __init__(self, title, msg, prefix="", suffix=""):
|
||||
def __init__(self, title, msg, prefix="", suffix="", embed=True):
|
||||
self.title = title
|
||||
self.msg = msg.strip("\n")
|
||||
self.page_prefix = prefix
|
||||
self.page_postfix = suffix
|
||||
self.embed = embed
|
||||
|
||||
def __str__(self):
|
||||
return f"ChatBlob('{self.title}', '{self.msg}')"
|
||||
|
||||
Reference in New Issue
Block a user