aboutsummaryrefslogtreecommitdiff
path: root/commands/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/play.js')
-rw-r--r--commands/play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/play.js b/commands/play.js
index df5be96..f53ac21 100644
--- a/commands/play.js
+++ b/commands/play.js
@@ -1,6 +1,6 @@
/**************************************************************************
*
- * DLMP3 Bot: A Discord bot that plays local MP3 audio tracks.
+ * DLAP Bot: A Discord bot that plays local audio tracks.
* (C) Copyright 2022
* Programmed by Andrew Lee
*
@@ -32,7 +32,7 @@ export default {
.addIntegerOption(option =>
option.setName('int')
.setDescription('Input a number for the selection for the audio file.')
- .setRequired(true),
+ .setRequired(false),
),
async execute(interaction, bot) {
if (![config.botOwner].includes(interaction.user.id)) return await interaction.reply({ content: "You do not have permissions to execute this command.", ephemeral: true });