Erisa / Cliptok

Moderation Discord bot for Microsoft Community.
https://msft.chat/about/bots.html#cliptok
MIT License
62 stars 25 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 1 week ago

FloatingMilkshake commented 2 weeks 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 2 weeks 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