Updated configs to ts files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
|
||||
import { countingBanned } from "config/roles.json"
|
||||
import { color, devMessage } from "config/options.json"
|
||||
import { countingBanned } from "config/roles"
|
||||
import { color, devMessage } from "config/options"
|
||||
|
||||
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||
const member = interaction.options.getMember("user")! as GuildMember
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ChatInputCommandInteraction, TextChannel, channelMention } from "discord.js"
|
||||
import settingsSchema from "schemas/settingsSchema"
|
||||
import { color, devMessage } from "config/options.json"
|
||||
import { color, devMessage } from "config/options"
|
||||
import mongoose from "mongoose"
|
||||
|
||||
export default async function setup(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ChatInputCommandInteraction, GuildMember, userMention } from "discord.js"
|
||||
import { countingBanned } from "config/roles.json"
|
||||
import { color, devMessage } from "config/options.json"
|
||||
import { countingBanned } from "config/roles"
|
||||
import { color, devMessage } from "config/options"
|
||||
|
||||
export default async function ban(interaction: ChatInputCommandInteraction): Promise<void> {
|
||||
const member = interaction.options.getMember("user")! as GuildMember
|
||||
|
||||
Reference in New Issue
Block a user