Fix: Add empty function to catch clauses
This commit is contained in:
@ -60,7 +60,7 @@ client.on(Events.ChannelUpdate, async (oldChannel, newChannel) => {
|
||||
|
||||
logChannel.send({
|
||||
embeds: [embed]
|
||||
}).catch();
|
||||
}).catch(() => {});
|
||||
return;
|
||||
}
|
||||
|
||||
@ -81,5 +81,5 @@ client.on(Events.ChannelUpdate, async (oldChannel, newChannel) => {
|
||||
|
||||
logChannel.send({
|
||||
embeds: [embed]
|
||||
}).catch();
|
||||
}).catch(() => {});
|
||||
});
|
Reference in New Issue
Block a user