mirror of
https://gitlab.com/qwerinope/qweribot.git
synced 2026-02-04 11:06:59 +01:00
Compare commits
2 Commits
f23fd5d5f0
...
f2d6e6d320
| Author | SHA1 | Date | |
|---|---|---|---|
| f2d6e6d320 | |||
| 2094c7734d |
@@ -67,7 +67,7 @@ export async function getExternalEmotes() {
|
|||||||
await redis.expire('chatwidget:emotes', 60 * 15);
|
await redis.expire('chatwidget:emotes', 60 * 15);
|
||||||
|
|
||||||
return Response.json(emotes);
|
return Response.json(emotes);
|
||||||
}
|
};
|
||||||
|
|
||||||
import { HelixChatBadgeSet } from "@twurple/api";
|
import { HelixChatBadgeSet } from "@twurple/api";
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const popover = document.createElement('div')
|
const popover = document.createElement('div');
|
||||||
Object.assign(popover.style, {
|
Object.assign(popover.style, {
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
top: '20px',
|
top: '20px',
|
||||||
@@ -10,7 +10,7 @@ Object.assign(popover.style, {
|
|||||||
fontSize: '9vmin',
|
fontSize: '9vmin',
|
||||||
zIndex: 9999
|
zIndex: 9999
|
||||||
});
|
});
|
||||||
popover.textContent = 'Loading...'
|
popover.textContent = 'Loading...';
|
||||||
document.body.appendChild(popover);
|
document.body.appendChild(popover);
|
||||||
|
|
||||||
const [badges, emotes] = await Promise.all([
|
const [badges, emotes] = await Promise.all([
|
||||||
|
|||||||
Reference in New Issue
Block a user