diff --git a/src/class/AccountUtil.ts b/src/class/AccountUtil.ts index 7b2243c..f7b03fe 100644 --- a/src/class/AccountUtil.ts +++ b/src/class/AccountUtil.ts @@ -85,7 +85,7 @@ export default class AccountUtil { return { account: accountInterface, tempPass }; } - public async lock(username: string, moderatorID: string, data?: { reason?: string, time?: number}) { + public async lock(username: string, moderatorID: string, data?: { reason?: string, time?: number }) { const account = await this.client.db.Account.findOne({ username }); if (!account) throw new Error('Account does not exist.'); if (account.locked) throw new Error('Account is already locked.'); diff --git a/src/class/Util.ts b/src/class/Util.ts index 4bf3246..759dc67 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.pn.join(', ')} (<@${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');