Typescript Continuum

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

View File

@@ -1,6 +1,8 @@
export default function check(client: any, interaction: any, command: any) {
import RadioClient from "../../Client";
export default function check(client: RadioClient, interaction: any, command: any) {
let message: any = {};
const radio = client.radio.get(interaction.guild.id);
const radio = client.radio?.get(interaction.guild.id);
if(client.config.maintenanceMode){
interaction.reply({
content: client.messageEmojis["error"] + client.messages.maintenance,