Skip to content

Commit

Permalink
remove logical not
Browse files Browse the repository at this point in the history
  • Loading branch information
talkincheap committed Dec 27, 2024
1 parent 7e2c4e4 commit 666ff43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/eventsmode/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class Command {

ctx.message.embeds[0].fields.push({
name: 'Статус ивента',
value: `${!isPaused ? 'На паузе' : 'Активен'}`,
value: `${isPaused ? 'На паузе' : 'Активен'}`,
inline: true,
});

Expand All @@ -254,7 +254,7 @@ export class Command {
template: `$1 $2 ивент $3`,
replaceArgs: [
userWithNameAndId(ctx.user),
!isPaused ? 'поставил на паузу' : 'снял с паузы',
isPaused ? 'поставил на паузу' : 'снял с паузы',
event.category + ' | ' + event.name,
],
}),
Expand Down

0 comments on commit 666ff43

Please sign in to comment.