Erisa / Cliptok

Moderation Discord bot for Microsoft Community.
https://msft.chat/about/bots.html#cliptok
MIT License
63 stars 26 forks source link

Bug: Running auto-warn filters on AutoMod-blocked messages will fail if AutoMod stops a forum channel post from being created #224

Closed FloatingMilkshake closed 3 months ago

FloatingMilkshake commented 3 months ago

An AutoMod block like this: image ...will lead to a failure to warn with exception System.ArgumentException: GuildForum channels do not support sending text messages.

Erisa commented 3 months ago

Same as #223, we shouldn't skip sending public messages because they are the fallback mechanism for notifying users of their warning if they have DMs disabled.

For this one, the two choices are

If the latter, we also need to think about #feedback-hub-forum