mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 17:45:03 +00:00
user.tag
This commit is contained in:
parent
1c5c005f1e
commit
c21e779c03
38 changed files with 59 additions and 93 deletions
|
@ -31,7 +31,7 @@ export const NamesCmd = nameHistoryCmd({
|
|||
const usernameRows = usernames.map(r => `\`[${r.timestamp}]\` **${disableCodeBlocks(r.username)}**`);
|
||||
|
||||
const user = await pluginData.client.users.fetch(args.userId as Snowflake);
|
||||
const currentUsername = user ? `${user.username}#${user.discriminator}` : args.userId;
|
||||
const currentUsername = user ? `${user.tag}` : args.userId;
|
||||
|
||||
const nicknameDays = Math.round(NICKNAME_RETENTION_PERIOD / DAYS);
|
||||
const usernameDays = Math.round(NICKNAME_RETENTION_PERIOD / DAYS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue