Update app-mockup.js

This commit is contained in:
Rodrigo Emanuel
2025-05-23 19:34:07 -03:00
committed by GitHub
parent 6137610f96
commit 475c2bb7df

View File

@@ -198,6 +198,8 @@ function generateMockEvent() {
const eventTypes = [
'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat',
'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat',
'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat',
'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat', 'twitch-chat',
'twitch-follow', 'twitch-bits', 'twitch-sub', 'twitch-resub',
@@ -267,6 +269,9 @@ function generateMockEvent() {
firstMessage: firstMessage,
badges: badgeschosen,
},
user: {
role: 1
},
messageId: messageId,
};
@@ -1009,4 +1014,4 @@ function randomString(length) {
function randomColor() {
const randomColor = "hsl(" + Math.random() * 360 + ", 100%, 75%)";
return randomColor;
}
}