mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
oh god almeida looked at my code
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
10bb0b67bc
commit
4d0161a49f
5 changed files with 8 additions and 7 deletions
|
@ -48,9 +48,10 @@ export const ServersCmd = botControlCmd({
|
|||
const lines = filteredGuilds.map((g) => {
|
||||
const paddedId = g.id.padEnd(longestId, " ");
|
||||
const owner = getUser(pluginData.client, g.ownerId);
|
||||
return `\`${paddedId}\` **${g.name}** (${g.memberCount} members) (owner **${renderUsername(owner.tag)}** \`${
|
||||
owner.id
|
||||
}\`)`;
|
||||
return `\`${paddedId}\` **${g.name}** (${g.memberCount} members) (owner **${renderUsername(
|
||||
owner.username,
|
||||
owner.discriminator,
|
||||
)}** \`${owner.id}\`)`;
|
||||
});
|
||||
createChunkedMessage(msg.channel, lines.join("\n"));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue