mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: update voice channel validator logging
This commit is contained in:
1 parent
9d9087d4c3
commit
22109823e1
16 files changed
+95
-70
No files matched your search
@@ -17,8 +17,8 @@ module.exports = {
|
||||
.addNumberOption((option) =>
|
||||
option.setName('tracknumber').setDescription('Track number to skip to in the queue.').setMinValue(1)
|
||||
),
|
||||
execute: async ({ interaction }) => {
|
||||
if (await notInVoiceChannel(interaction)) {
|
||||
execute: async ({ interaction, executionId }) => {
|
||||
if (await notInVoiceChannel({ interaction, executionId })) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ module.exports = {
|
||||
return;
|
||||
}
|
||||
|
||||
if (await notInSameVoiceChannel(interaction, queue)) {
|
||||
if (await notInSameVoiceChannel({ interaction, queue, executionId })) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user