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