From 4ed820999a0fd0627c503b941cb86980ea86a1c4 Mon Sep 17 00:00:00 2001 From: cswimr Date: Thu, 30 Jan 2025 11:59:04 +0000 Subject: [PATCH] feat: add moderation reasons to enum (#11) feat: add moderation reasons to enum (#11) --- Data/Moderation.cs | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/Data/Moderation.cs b/Data/Moderation.cs index cfcff7c..fb218b4 100644 --- a/Data/Moderation.cs +++ b/Data/Moderation.cs @@ -1,3 +1,5 @@ +using EnumStringValues; + namespace Myhm.Data; public class Moderation @@ -16,12 +18,21 @@ public enum ModerationTypes Warn, } -// TODO: Get reasons from @MYHM and add them here public enum ModerationReasons { - Spamming, + Advertising, + Bot, Harassment, - HateSpeech, - NSFW, - Other, + Impersonation, + Phishing, + Raiding, + + [StringValue("TOS")] + Tos, + + [StringValue("NSFW")] + Nsfw, + + [StringValue("Alt/Ban Evasion")] + BanEvasion, }