This commit is contained in:
DeSqBlocki
2025-02-09 00:34:42 +01:00
parent e74aef15b9
commit 156098b011
5 changed files with 69 additions and 8 deletions
+2 -2
View File
@@ -42,12 +42,12 @@ async function getChannel(interaction) {
})
return interaction.editReply({
content: `#${res.channel} previously set for Event: ${event}`,
content: `<#${res.channel}> was previously set for Event: ${event}`,
flags: MessageFlags.Ephemeral
})
} catch (error) {
return interaction.editReply({
content: `**[ERROR]:** There was an error updating the database: ${error}`,
content: `**[ERROR]:** ${event} is currently not set to any channel`,
flags: MessageFlags.Ephemeral
}).then(setTimeout(() => {
interaction.deleteReply()