mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 22:16:13 +00:00
Comment
This commit is contained in:
1 parent
782c3231e1
commit
856ecc1e06
1 file changed
+1
-1
+1
-1
@@ -13,7 +13,6 @@ module.exports = {
|
||||
);
|
||||
}
|
||||
|
||||
const player = useMainPlayer();
|
||||
const queue = useQueue(interaction.guild.id);
|
||||
|
||||
if (!queue) {
|
||||
@@ -22,6 +21,7 @@ module.exports = {
|
||||
);
|
||||
}
|
||||
|
||||
// change paused state to opposite of current state
|
||||
queue.node.setPaused(!queue.node.isPaused());
|
||||
if (queue.node.isPaused()) {
|
||||
await interaction.editReply({
|
||||
|
||||
Reference in new issue
Block a user