enhance: Unicode 15.0で新たに追加された絵文字をリアクションに使えるように (#12683)
This commit is contained in:
parent
507d436699
commit
13990279c3
7 changed files with 62 additions and 20 deletions
|
@ -25,7 +25,7 @@ export const commonHandlers = [
|
|||
}),
|
||||
rest.get('/twemoji/:codepoints.svg', async (req, res, ctx) => {
|
||||
const { codepoints } = req.params;
|
||||
const value = await fetch(`https://unpkg.com/@discordapp/twemoji@14.1.2/dist/svg/${codepoints}.svg`).then((response) => response.blob());
|
||||
const value = await fetch(`https://unpkg.com/@discordapp/twemoji@15.0.2/dist/svg/${codepoints}.svg`).then((response) => response.blob());
|
||||
return res(ctx.set('Content-Type', 'image/svg+xml'), ctx.body(value));
|
||||
}),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue