Update app-mockup.js
This commit is contained in:
@@ -198,6 +198,8 @@ function generateMockEvent() {
|
|||||||
const eventTypes = [
|
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-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',
|
'twitch-follow', 'twitch-bits', 'twitch-sub', 'twitch-resub',
|
||||||
|
|
||||||
@@ -267,6 +269,9 @@ function generateMockEvent() {
|
|||||||
firstMessage: firstMessage,
|
firstMessage: firstMessage,
|
||||||
badges: badgeschosen,
|
badges: badgeschosen,
|
||||||
},
|
},
|
||||||
|
user: {
|
||||||
|
role: 1
|
||||||
|
},
|
||||||
messageId: messageId,
|
messageId: messageId,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1009,4 +1014,4 @@ function randomString(length) {
|
|||||||
function randomColor() {
|
function randomColor() {
|
||||||
const randomColor = "hsl(" + Math.random() * 360 + ", 100%, 75%)";
|
const randomColor = "hsl(" + Math.random() * 360 + ", 100%, 75%)";
|
||||||
return randomColor;
|
return randomColor;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user