mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-11-03 12:35:01 +00:00
More typings to classes, commands, events, funcs
This commit is contained in:
1 parent
227e0bcaaa
commit
40cd3a9ec5
14 files changed
+84
-39
No files matched your search
@@ -1,11 +1,12 @@
|
||||
import { ButtonInteraction, ChatInputCommandInteraction, ColorResolvable, EmbedBuilder, StringSelectMenuInteraction } from "discord.js";
|
||||
import RadioClient from "../../Client";
|
||||
import { command } from "../commands";
|
||||
|
||||
export default {
|
||||
name: 'stop',
|
||||
description: 'Stop radio',
|
||||
category: 'radio',
|
||||
async execute(interaction: ButtonInteraction | ChatInputCommandInteraction | StringSelectMenuInteraction, client: RadioClient, command: any) {
|
||||
async execute(interaction: ButtonInteraction | ChatInputCommandInteraction | StringSelectMenuInteraction, client: RadioClient, command: command) {
|
||||
if (client.funcs.check(client, interaction, command)) {
|
||||
const radio = client.radio?.get(interaction.guild?.id);
|
||||
client.statistics?.update(client, interaction.guild, radio);
|
||||
|
||||
Reference in new issue
Block a user