mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
feat: Updated /help command to be dynamic
This commit is contained in:
1 parent
6af04f7b5c
commit
b95a652f1c
15 files changed
+87
-13
No files matched your search
@@ -5,12 +5,13 @@ const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
|
||||
const { useQueue } = require('discord-player');
|
||||
|
||||
module.exports = {
|
||||
isNew: true,
|
||||
isBeta: false,
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('stop')
|
||||
.setDescription('Stop playing audio and clear the track queue.')
|
||||
.setDMPermission(false),
|
||||
|
||||
// todo, allow command to be executed if bot is only member in voice channel
|
||||
.setDMPermission(false)
|
||||
.setNSFW(false),
|
||||
execute: async ({ interaction }) => {
|
||||
if (await notInVoiceChannel(interaction)) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user