Added permission levels to all commands

This commit is contained in:
2022-09-29 11:23:15 +02:00
parent 07b48087b4
commit 5be326d56a
11 changed files with 11 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ module.exports = {
data: new SlashCommandBuilder()
.setName("cooldowns")
.setDescription("List cooldowns"),
permissionLevel: 0,
async execute(interaction) {
//fetch the user given the userID and include his cards
const user = await UserUtils.getUserByDiscordId(interaction.member.id);