Skip to content

Commit

Permalink
Merge pull request #27 from xmnlz/fix
Browse files Browse the repository at this point in the history
chore(panel): removed logical not
  • Loading branch information
talkincheap authored Dec 27, 2024
2 parents cd7c7f5 + eb12a80 commit e2fd221
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 @@ -235,7 +235,7 @@ export class Command {

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

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

0 comments on commit e2fd221

Please sign in to comment.