aboutsummaryrefslogtreecommitdiff
path: root/commands/play.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-03-30 16:34:24 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-03-30 16:34:24 -0400
commit3f81f1086f46b8e1882ed0827483a22929330be3 (patch)
tree4bda5790eb359f53d4e5671225f38e18a1ce56b9 /commands/play.js
parentfd89e36490da711ba611c1f7c8dda93a3de054f0 (diff)
downloadDLAP-3f81f1086f46b8e1882ed0827483a22929330be3.tar.gz
DLAP-3f81f1086f46b8e1882ed0827483a22929330be3.tar.bz2
DLAP-3f81f1086f46b8e1882ed0827483a22929330be3.zip
Renamed project; Auto creates music folder when not detected; Removed audio limitation
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 });