Removed comments

This commit is contained in:
Marius Begby committed 2023-07-15 03:08:49 +02:00
1 parent 15f1a876e8
commit dc3118de15
1 file changed
-6
-6
View File
@@ -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()