Rename devId to devIds in config

This commit is contained in:
Christer Warén
2023-06-06 04:37:06 +03:00
parent 97881f7331
commit bc238d919d
5 changed files with 12 additions and 19 deletions

View File

@ -13,7 +13,7 @@ export default {
async execute(interaction: ButtonInteraction | ChatInputCommandInteraction | StringSelectMenuInteraction, client: RadioClient) {
let message: any = {};
if(!client.funcs.isDev(client.config.devId, interaction.user.id)) return interaction.reply({
if(!client.funcs.isDev(client.config.devIDs, interaction.user.id)) return interaction.reply({
content: client.messages.emojis["error"] + client.messages.notAllowed,
ephemeral: true
});