Skip to content

Commit

Permalink
scheduled message correction for ffattacks
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixLusseau committed Sep 30, 2023
1 parent 6ff49c7 commit 06379c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/ffattacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ async function ffattacks(bot, api, interaction, pingBool, guildId, channel, clan
}

}
if (text != null) { // If the text option is enabled
if (text != null || (pingBool && interaction == null)) { // If the text option is enabled
// If the interaction is not null, edit the reply deferred before
if (interaction != null) {
interaction.editReply({ embeds: [attacksEmbed] });
Expand Down

0 comments on commit 06379c8

Please sign in to comment.