Linked channel not auto deleting bot messages if player deletes their own message
TomLewis opened this issue ยท 1 comments
Expected behavior
For DiscordSRV to clean up all messages posted in the linking channel, even ones that show the message that someone deleted their original message, as the bot replies to it!
Actual behavior
This message is left in the channel, so players have figured this out already and started spamming comments and deleting their messages to fill this discord channel up with these messages.
Steps to reproduce
- Setup
Channels:
to have alink
channel to/discord link
send your codes to. - Set
MinecraftDiscordAccountLinkedMessageDeleteSeconds
in config.yml to delete messages to 20 seconds - Get someone to write a spam message, then delete their own message before the auto delete happens.
- Discord SRV does not clean up the message left by the bot that the original message was deleted
Within 10 seconds of me posting a changelog I enabled this feature a random player did this as the first message to test the channel.
Server software and version
PurPur 1.18.2
Checks
- I am not using an outdated version of DiscordSRV.
- I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
- I didn't actually check any of these things
Anything else
No response