Skip to content

Commit

Permalink
Refactor: join command (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored May 8, 2023
1 parent c93c11d commit 9ac26fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/commands/join.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class JoinCommand extends Command {
workerClientMap.size !==
process.env.WORKER_TOKENS.split(',').length + 1
) {
return await interaction.reply({
return interaction.reply({
embeds: [
{
color: 0xff0000,
Expand Down Expand Up @@ -120,9 +120,8 @@ export class JoinCommand extends Command {
],
ephemeral: true,
})
} else {
throw err
}
throw err
}

return interaction.reply({
Expand Down

0 comments on commit 9ac26fe

Please sign in to comment.