From 17a8eaedc4e4579420b3b016b1ac305c80caee9c Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Wed, 23 Apr 2025 19:03:40 -0600 Subject: [PATCH] logging: noop errors --- src/modules/logging.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/modules/logging.js b/src/modules/logging.js index fdcb7d4..a24496a 100644 --- a/src/modules/logging.js +++ b/src/modules/logging.js @@ -43,13 +43,15 @@ events.add("guildUpdate", "logging", async function (guild, oldGuild) { diff += "```"; - channel.createMessage({ - embeds: [ - { - color: COLOR_CHANGED, - title: "Features Updated", - content: diff, - }, - ], - }); + channel + .createMessage({ + embeds: [ + { + color: COLOR_CHANGED, + title: "Features Updated", + content: diff, + }, + ], + }) + .catch(() => {}); });