diff --git a/src/assets/messageParser.ts b/src/assets/messageParser.ts index 77a0de0..81e2b7c 100644 --- a/src/assets/messageParser.ts +++ b/src/assets/messageParser.ts @@ -65,6 +65,14 @@ export function parseMessage(messageData: any, allBadges: Badge[]): ParsedMessag } } } + case 'NOTICE': { + return { + type: 'NOTICE', + data: { + message: message.message + } + } + } // Add more cases for other message types here default: { return { diff --git a/src/components/TwitchChat.vue b/src/components/TwitchChat.vue index 30884f1..4cde52d 100644 --- a/src/components/TwitchChat.vue +++ b/src/components/TwitchChat.vue @@ -194,6 +194,10 @@ export default {
{{ $t("chat.timeout", { username: message.data.username, duration: message.data.duration }) }}
+{{ message.data.message }}
+