mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix: change addNumberOption to addIntegerOption
This commit is contained in:
1 parent
47f45a559f
commit
6ca7ce3e4b
8 files changed
+11
-9
No files matched your search
@@ -11,7 +11,7 @@ class VolumeCommand extends BaseSlashCommandInteraction {
|
||||
const data = new SlashCommandBuilder()
|
||||
.setName('volume')
|
||||
.setDescription('Show or change the playback volume for tracks.')
|
||||
.addNumberOption((option) =>
|
||||
.addIntegerOption((option) =>
|
||||
option
|
||||
.setName('percentage')
|
||||
.setDescription('Volume percentage: From 1% to 100%.')
|
||||
|
||||
Reference in new issue
Block a user