1 |
import { CommandInteraction, GuildMember, Interaction, Message } from 'discord.js'; |
import { Message } from 'discord.js'; |
2 |
import BaseCommand from '../../utils/structures/BaseCommand'; |
import BaseCommand from '../../utils/structures/BaseCommand'; |
3 |
import DiscordClient from '../../client/Client'; |
import DiscordClient from '../../client/Client'; |
4 |
import CommandOptions from '../../types/CommandOptions'; |
import CommandOptions from '../../types/CommandOptions'; |
|
import InteractionOptions from '../../types/InteractionOptions'; |
|
5 |
import MessageEmbed from '../../client/MessageEmbed'; |
import MessageEmbed from '../../client/MessageEmbed'; |
|
import Help from '../../utils/help'; |
|
6 |
import ms from 'ms'; |
import ms from 'ms'; |
7 |
import { timeSince } from '../../utils/util'; |
import { timeSince } from '../../utils/util'; |
8 |
import { setTimeoutv2 } from '../../utils/setTimeout'; |
import { setTimeoutv2 } from '../../utils/setTimeout'; |
71 |
|
|
72 |
const command = await cmd.join(' '); |
const command = await cmd.join(' '); |
73 |
|
|
74 |
const queue = await setTimeoutv2('queue.ts', time, msg.guild!.id, command, command, msg.id, msg.channel!.id, msg.guild!.id); |
const queue = await setTimeoutv2('queue', time, msg.guild!.id, command, command, msg.id, msg.channel!.id, msg.guild!.id); |
75 |
|
|
76 |
await msg.reply({ |
await msg.reply({ |
77 |
embeds: [ |
embeds: [ |