diff --git a/src/class/AccountUtil.ts b/src/class/AccountUtil.ts index f7b03fe..cbb7022 100644 --- a/src/class/AccountUtil.ts +++ b/src/class/AccountUtil.ts @@ -47,7 +47,7 @@ export default class AccountUtil {

Username: ${data.username}

Support Key: ${code} || You may be asked for this support key when contacting Library of Code, please keep the code in a safe area.

SSH Login:

ssh ${data.username}@cloud.libraryofcode.org
-

Underwritten by: ${moderatorMember.user.username}, ${find.pn.join(', ')} +

Underwritten by: ${moderatorMember.user.username}${find.isManager ? ' [k]' : ' '}

Useful information

How to log in:

    diff --git a/src/class/Util.ts b/src/class/Util.ts index 759dc67..2d08abf 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -299,7 +299,7 @@ export default class Util { .setTitle(embedTitle) .setColor(color) .addField('User', `${username} | <@${userID}>`, true) - .addField(archType, moderatorID === this.client.user.id ? 'SYSTEM' : `${moderator.username},${find.isManager ? ' [k] ' : ' '}(<@${moderatorID}>)`, true) + .addField(archType, moderatorID === this.client.user.id ? 'SYSTEM' : `${moderator.username}${find.isManager ? ' [k] ' : ' '}(<@${moderatorID}>)`, true) .setFooter(this.client.user.username, this.client.user.avatarURL()) .setTimestamp(); if (reason) embed.addField('Reason', reason || 'Not specified'); diff --git a/src/commands/notify.ts b/src/commands/notify.ts index 2d288d8..5d20616 100644 --- a/src/commands/notify.ts +++ b/src/commands/notify.ts @@ -30,7 +30,7 @@ export default class Notify extends Command { embed.addField('User', `${account.username} | <@${account.userID}>`, true); const req = await axios.get('https://loc.sh/int/directory'); const technician = req.data.find((mem) => mem.userID === message.author.id); - embed.addField('Technician', message.author.id === this.client.user.id ? 'SYSTEM' : `${message.author.username},${technician.isManager ? ' [k] ' : ' '}(<@${message.author.id}>)`, true); + embed.addField('Technician', message.author.id === this.client.user.id ? 'SYSTEM' : `${message.author.username}${technician.isManager ? ' [k] ' : ' '}(<@${message.author.id}>)`, true); const ch = this.client.channels.cache.get('580950455581147146') as TextChannel; ch.send({ embeds: [embed] }); this.client.util.transport.sendMail({