mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-09 20:03:04 +02:00
listen for guild updates and connect them
This commit is contained in:
parent
892bf4496d
commit
bfe9efe62e
2 changed files with 16 additions and 1 deletions
|
@ -82,7 +82,10 @@ const utils = {
|
|||
|
||||
// Event dispatcher for OOYE bridge operations
|
||||
try {
|
||||
if (message.t === "CHANNEL_UPDATE") {
|
||||
if (message.t === "GUILD_UPDATE") {
|
||||
await eventDispatcher.onGuildUpdate(client, message.d)
|
||||
|
||||
} else if (message.t === "CHANNEL_UPDATE") {
|
||||
await eventDispatcher.onChannelOrThreadUpdate(client, message.d, false)
|
||||
|
||||
} else if (message.t === "THREAD_CREATE") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue