Skip to content

Commit

Permalink
fix: worker check (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored May 3, 2023
1 parent b74a7b2 commit 12a7058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/join.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export class JoinCommand extends Command {
})
}

if (workerClientMap.size === process.env.WORKER_TOKENS.split(',').length) {
return interaction.reply({
if (workerClientMap.size !== process.env.WORKER_TOKENS.split(',').length) {
return await interaction.reply({
embeds: [
{
color: 0xff0000,
Expand Down

0 comments on commit 12a7058

Please sign in to comment.