Typescript Continuum

This commit is contained in:
Christer Warén committed 2023-06-05 00:13:15 +03:00
1 parent 0e62861e33
commit c584e3632e
33 files changed
+152 -94

No files matched your search

+5 -1
View File
@@ -1,8 +1,12 @@
import { ButtonInteraction, ChatInputCommandInteraction, StringSelectMenuInteraction } from "discord.js";
import RadioClient from "../../Client";
import { command } from "../commands";
export default {
name: 'prev',
description: 'Previous Station',
category: 'radio',
async execute(interaction: any, client: any, 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);