mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
13 lines
329 B
TypeScript
13 lines
329 B
TypeScript
|
import { getIOEmoji } from './io-meta';
|
||
|
import * as Misskey from 'misskey-js';
|
||
|
export const customEmojisMap = new Map<string, Misskey.entities.CustomEmoji>();
|
||
|
|
||
|
async function init() {
|
||
|
const emojis = await getIOEmoji();
|
||
|
|
||
|
for (const emoji of emojis.emojis) {
|
||
|
customEmojisMap.set(emoji.name, emoji);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
init();
|