Repeats: Fix private mod actions (#7865)

This commit is contained in:
Plato 2021-01-01 23:07:16 +01:00 committed by GitHub
parent fa39e89805
commit 0731a47deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,8 +236,8 @@ export const commands: ChatCommands = {
this.modlog('REPEATPHRASE', null, `every ${interval} ${isByMessages ? 'chat message' : 'minute'}${Chat.plural(interval)}: the Room FAQ for "${topic}"`);
this.privateModAction(
isByMessages ?
room.tr`${user.name} set the Room FAQ "${topic}" to be repeated every ${interval} minute(s).` :
room.tr`${user.name} set the Room FAQ "${topic}" to be repeated every ${interval} chat message(s).`
room.tr`${user.name} set the Room FAQ "${topic}" to be repeated every ${interval} chat message(s).` :
room.tr`${user.name} set the Room FAQ "${topic}" to be repeated every ${interval} minute(s).`
);
},