mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: Changed command logic to be in property execute instead of run
This commit is contained in:
1 parent
6fdd943e56
commit
2d0df79dac
15 files changed
+18
-15
No files matched your search
@@ -10,7 +10,7 @@ module.exports = {
|
||||
.setDescription('Show the list of tracks added to the queue.')
|
||||
.setDMPermission(false)
|
||||
.addNumberOption((option) => option.setName('page').setDescription('Page number of the queue').setMinValue(1)),
|
||||
run: async ({ interaction }) => {
|
||||
execute: async ({ interaction }) => {
|
||||
if (!interaction.member.voice.channel) {
|
||||
return await interaction.editReply({
|
||||
embeds: [
|
||||
|
||||
Reference in new issue
Block a user