utility.appinfo: add verified check to bot

This commit is contained in:
Cynthia Foxwell 2023-10-07 22:56:49 -06:00
parent 0bc9e05da8
commit c4e6f68787

View file

@ -1565,7 +1565,8 @@ appinfo.callback = async function (msg, line) {
embed.fields.push({
name: "Bot",
value: formatUsername(bot),
value:
formatUsername(bot) + (bot.flags & (65535 != 0) ? " \u2713" : ""),
inline: false,
});
} catch {
@ -1682,7 +1683,7 @@ appinfo.callback = async function (msg, line) {
value: assets
.map((asset) =>
asset.name.length > 32
? asset.name.substring(0, 32) + "\u2026"
? asset.name.substring(0, 31) + "\u2026"
: asset.name
)
.join(", "),