From ec971af92e99a173abeda63d7204f9cf13ecdaa8 Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 7 Jan 2024 00:18:45 +0100 Subject: [PATCH] Added moderation log channel option --- config/options.json | 1 + src/utils/functions/logtochannel.ts | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/options.json b/config/options.json index ee2bd29..60d8035 100644 --- a/config/options.json +++ b/config/options.json @@ -11,6 +11,7 @@ "botLogChannel": "1174403585149243472", "guildLogChannel": "1183733282534326322", "errorLogChannel": "1192476369850994788", + "moderationLogChannel": "1193329771795447818", "waitingListChannel": "1145773618291298384", "waitingListMessage": "1146027645415473193", "instructionsgif": "https://cdn.discordapp.com/attachments/838716950723952640/1188211176300089384/4DMu513uNxbM.gif?ex=6599b2e4&is=65873de4&hm=e727c7a39aacbc47d6a5453f4b5f792a45679983c30d662cd258a311381b6df0&" diff --git a/src/utils/functions/logtochannel.ts b/src/utils/functions/logtochannel.ts index a5cc857..4f186b4 100644 --- a/src/utils/functions/logtochannel.ts +++ b/src/utils/functions/logtochannel.ts @@ -1,4 +1,4 @@ -import { guildid, onlineLogChannel, botLogChannel, guildLogChannel, errorLogChannel } from "../../../config/options.json" +import { guildid, onlineLogChannel, botLogChannel, guildLogChannel, errorLogChannel, moderationLogChannel } from "../../../config/options.json" import { Guild, MessageCreateOptions, TextChannel } from "discord.js" import Illegitimate from "../Illegitimate" @@ -6,7 +6,8 @@ const channels = { online: onlineLogChannel, bot: botLogChannel, guild: guildLogChannel, - error: errorLogChannel + error: errorLogChannel, + mod: moderationLogChannel } type Channel = keyof typeof channels