Skip to content

Commit

Permalink
Fix add/remove phrase message type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchdev committed Dec 7, 2024
1 parent bd8cadf commit 2380b98
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions assets/chat/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1463,16 +1463,15 @@ class Chat {
}

onADDPHRASE(data) {
MessageBuilder.command(`Phrase "${data.data}" added.`, data.timestamp).into(
MessageBuilder.info(`Phrase "${data.data}" added.`, data.timestamp).into(
this,
);
}

onREMOVEPHRASE(data) {
MessageBuilder.command(
`Phrase "${data.data}" removed.`,
data.timestamp,
).into(this);
MessageBuilder.info(`Phrase "${data.data}" removed.`, data.timestamp).into(
this,
);
}

onPRIVMSGSENT() {
Expand Down

0 comments on commit 2380b98

Please sign in to comment.