DiscordSRV

DiscordSRV

86.8k Downloads

Auto delete !c messages after a configurable delay

mdcfe opened this issue ยท 0 comments

commented

Automatically delete !c messages sent from Discord to DiscordSRV and/or the response sent back to Discord after a configurable delay (which could be set to -1 to disable or 0 for immediate deletion), for example:

# DiscordChatChannelConsoleCommandIncomingMessageDeletionDelay: the delay for autodeleting incoming console command messages (set to -1 to disable)
# DiscordChatChannelConsoleCommandOutgoingMessageDeletionDelay: the delay for autodeleting outgoing console command messages (set to -1 to disable)
DiscordChatChannelConsoleCommandIncomingMessageDeletionDelay: 0
DiscordChatChannelConsoleCommandOutgoingMessageDeletionDelay: 10

Would be useful, since I don't want Discord users to even see the console commands sent to MC and the console channel feature causes us to hit the Discord rate limits fairly frequently.