mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Add message to the queue per webhook to fix #27
This commit is contained in:
parent
af2b779b84
commit
8d9c3c01d9
|
@ -85,4 +85,7 @@ messagequeue = MessageQueue()
|
|||
|
||||
|
||||
async def send_to_discord(msg):
|
||||
messagequeue.add_message(msg)
|
||||
webhooks = msg.webhook_url.copy()
|
||||
for webhook in webhooks:
|
||||
msg.webhook_url = [webhook]
|
||||
messagequeue.add_message(msg)
|
||||
|
|
Loading…
Reference in a new issue