utility.jumbo: attempt to fix emoji names
This commit is contained in:
parent
a7e1492321
commit
d2acfdc76e
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ jumbo.callback = async function (msg, line) {
|
|||
|
||||
const name = emojiNames[line]
|
||||
? `\\:${emojiNames[line]}\\:`
|
||||
: await getNamesFromString(line)[0][1];
|
||||
: await getNamesFromString(line).then((name) => name[0]?.[1]);
|
||||
|
||||
const statusCode = await fetch(url, {method: "HEAD"}).then(
|
||||
(res) => res.status
|
||||
|
|
Loading…
Reference in a new issue