mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 09:23:50 +01:00
1f2b1aa58b
* wip * (add) mfm preview * (fix) iroiro * (Fix) build error * (fix) something
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(); |