Update app-mockup.js
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user