Skip to content

Commit

Permalink
Remove unused permissions array in queue command
Browse files Browse the repository at this point in the history
  • Loading branch information
eritislami committed Mar 7, 2024
1 parent 0325768 commit 7210116
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion commands/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { i18n } from "../utils/i18n";
export default {
data: new SlashCommandBuilder().setName("queue").setDescription(i18n.__("queue.description")),
cooldown: 5,
permissions: [],
async execute(interaction: ChatInputCommandInteraction) {
const queue = bot.queues.get(interaction.guild!.id);
if (!queue || !queue.songs.length) return interaction.reply({ content: i18n.__("queue.errorNotQueue") });
Expand Down

0 comments on commit 7210116

Please sign in to comment.