Beispiel #1
0
        private static async Task LogUnmute(IModeratorEventArgs mArgs)
        {
            if (!mArgs.Server.IsPremium)
            {
                return;
            }

            var logger = new ModeratorEventLogger(mArgs, InternalModerationAction.UNMUTE,
                                                  "🔔", GetFormattedTimestamp(), mArgs.Server.LogUnmutes);

            await logger.LogModerationAction();
        }
Beispiel #2
0
        private static async Task LogUnshadowban(IModeratorEventArgs mArgs)
        {
            if (!mArgs.Server.IsPremium)
            {
                return;
            }

            var logger = new ModeratorEventLogger(mArgs, InternalModerationAction.UNSHADOWBAN,
                                                  "👻 ✅", GetFormattedTimestamp(), mArgs.Server.LogUnshadowbans);

            await logger.LogModerationAction();
        }