Added moderation log channel option
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
"botLogChannel": "1174403585149243472",
|
"botLogChannel": "1174403585149243472",
|
||||||
"guildLogChannel": "1183733282534326322",
|
"guildLogChannel": "1183733282534326322",
|
||||||
"errorLogChannel": "1192476369850994788",
|
"errorLogChannel": "1192476369850994788",
|
||||||
|
"moderationLogChannel": "1193329771795447818",
|
||||||
"waitingListChannel": "1145773618291298384",
|
"waitingListChannel": "1145773618291298384",
|
||||||
"waitingListMessage": "1146027645415473193",
|
"waitingListMessage": "1146027645415473193",
|
||||||
"instructionsgif": "https://cdn.discordapp.com/attachments/838716950723952640/1188211176300089384/4DMu513uNxbM.gif?ex=6599b2e4&is=65873de4&hm=e727c7a39aacbc47d6a5453f4b5f792a45679983c30d662cd258a311381b6df0&"
|
"instructionsgif": "https://cdn.discordapp.com/attachments/838716950723952640/1188211176300089384/4DMu513uNxbM.gif?ex=6599b2e4&is=65873de4&hm=e727c7a39aacbc47d6a5453f4b5f792a45679983c30d662cd258a311381b6df0&"
|
||||||
|
|||||||
@@ -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 { Guild, MessageCreateOptions, TextChannel } from "discord.js"
|
||||||
import Illegitimate from "../Illegitimate"
|
import Illegitimate from "../Illegitimate"
|
||||||
|
|
||||||
@@ -6,7 +6,8 @@ const channels = {
|
|||||||
online: onlineLogChannel,
|
online: onlineLogChannel,
|
||||||
bot: botLogChannel,
|
bot: botLogChannel,
|
||||||
guild: guildLogChannel,
|
guild: guildLogChannel,
|
||||||
error: errorLogChannel
|
error: errorLogChannel,
|
||||||
|
mod: moderationLogChannel
|
||||||
}
|
}
|
||||||
|
|
||||||
type Channel = keyof typeof channels
|
type Channel = keyof typeof channels
|
||||||
|
|||||||
Reference in New Issue
Block a user