Added moderation log channel option

This commit is contained in:
2024-01-07 00:18:45 +01:00
parent 9ac1fb141d
commit ec971af92e
2 changed files with 4 additions and 2 deletions

View File

@@ -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