Skip to content

Commit

Permalink
7TV Emotes 1.4.20
Browse files Browse the repository at this point in the history
* Changed: Change the emote update message format so it shows the actual emote name in brackets as well
  • Loading branch information
Lordmau5 committed Jan 17, 2024
1 parent dcd341b commit 90d3b2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/7tv-emotes/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main",
"clips"
],
"version": "1.4.19",
"version": "1.4.20",
"short_name": "7TV",
"name": "7TV Emotes",
"author": "Melonify",
Expand All @@ -14,5 +14,5 @@
"website": "https://7tv.app",
"settings": "add_ons.7tv_emotes",
"created": "2021-07-12T23:18:04.000Z",
"updated": "2024-01-17T19:52:28.900Z"
"updated": "2024-01-17T20:14:43.907Z"
}
6 changes: 3 additions & 3 deletions src/7tv-emotes/modules/emotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export default class Emotes extends FrankerFaceZ.utilities.module.Module {
let message = `${body.actor.display_name} `;
switch (action) {
case 'ADD': {
message += `added the emote ${emote.value.name}`;
message += `added the emote ${emote.value.name} (${emote.value.name})`;
break;
}
case 'REMOVE': {
Expand All @@ -273,9 +273,9 @@ export default class Emotes extends FrankerFaceZ.utilities.module.Module {
}
case 'UPDATE': {
if (oldEmote?.name !== emote.value.name) {
message += `renamed the emote ${oldEmote.name} to ${emote.value.name}`;
message += `renamed the emote ${oldEmote.name} to ${emote.value.name} (${emote.value.name})`;
} else {
message += `updated the emote ${emote.value.name}`;
message += `updated the emote ${emote.value.name} (${emote.value.name})`;
}
break;
}
Expand Down

0 comments on commit 90d3b2f

Please sign in to comment.