diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-03-30 16:34:24 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-03-30 16:34:24 -0400 |
| commit | 3f81f1086f46b8e1882ed0827483a22929330be3 (patch) | |
| tree | 4bda5790eb359f53d4e5671225f38e18a1ce56b9 /commands/play.js | |
| parent | fd89e36490da711ba611c1f7c8dda93a3de054f0 (diff) | |
| download | DLAP-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.js | 4 |
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 }); |
