forked from cosmic/scythe
fix,imports: fix wrong type and remove unused imports
This commit is contained in:
parent
3341463fde
commit
059e9db1cd
|
|
@ -1,5 +1,5 @@
|
||||||
import { Discord, Slash, SlashGroup, SlashOption } from "discordx";
|
import { Discord, Slash, SlashGroup, SlashOption } from "discordx";
|
||||||
import { ActionRowBuilder, ApplicationCommandOptionType, ButtonBuilder, ButtonStyle, CommandInteraction, EmbedBuilder, GuildMember, MessageFlags, User, type APIEmbedField } from "discord.js";
|
import { ApplicationCommandOptionType, CommandInteraction, EmbedBuilder, GuildMember, MessageFlags } from "discord.js";
|
||||||
|
|
||||||
import db from "../db";
|
import db from "../db";
|
||||||
import { colonTable, type ColonThreeType } from "../db/schema";
|
import { colonTable, type ColonThreeType } from "../db/schema";
|
||||||
|
|
@ -53,7 +53,7 @@ export class ColonThree {
|
||||||
required: false,
|
required: false,
|
||||||
type: ApplicationCommandOptionType.User,
|
type: ApplicationCommandOptionType.User,
|
||||||
})
|
})
|
||||||
user: User,
|
user: GuildMember,
|
||||||
inter: CommandInteraction
|
inter: CommandInteraction
|
||||||
) {
|
) {
|
||||||
const statsUser = (
|
const statsUser = (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue