mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
Removed comments
This commit is contained in:
1 parent
15f1a876e8
commit
dc3118de15
1 file changed
-6
@@ -154,9 +154,6 @@ client.on('interactionCreate', async (interaction) => {
|
||||
`(${interaction.guild.memberCount}) ${interaction.guild.name}> Command '${interaction}' took ${executionTime} ms to execute.`
|
||||
);
|
||||
|
||||
// todo: using interaction.editReply() might lead to "unknown interaction" error
|
||||
// it might already have been replied to or deferred
|
||||
// solution might be to use interaction.followUp() instead or send a message to the channel?
|
||||
return await interaction.followUp({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
@@ -179,9 +176,6 @@ client.on('interactionCreate', async (interaction) => {
|
||||
`(${interaction.guild.memberCount}) ${interaction.guild.name}> Command '${interaction}' failed to execute.`
|
||||
);
|
||||
|
||||
// todo: using interaction.editReply() might lead to "unknown interaction" error
|
||||
// it might already have been replied to or deferred
|
||||
// solution might be to use interaction.followUp() instead or send a message to the channel?
|
||||
await interaction.followUp({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
|
||||
Reference in new issue
Block a user