feat!: Sharding implemented across the bot

This commit is contained in:
Marius Begby committed 2023-07-21 14:17:04 +02:00
1 parent b160cbf564
commit 9c15c636d9
29 files changed
+270 -142

No files matched your search

+5 -1
View File
@@ -32,7 +32,11 @@ module.exports = {
// change paused state to opposite of current state
queue.node.setPaused(!queue.node.isPaused());
logger.debug(`User used command ${interaction.commandName} and set paused state to ${queue.node.isPaused()}.`);
logger.debug(
`[Shard ${interaction.guild.shardId}] User used command ${
interaction.commandName
} and set paused state to ${queue.node.isPaused()}.`
);
return await interaction.editReply({
embeds: [