From 0aea3d1bd2af5b65d3a4f9874e0a64a84771fb68 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 30 May 2020 10:09:31 -0400 Subject: [PATCH] Fix ban message --- src/commands/ban.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/ban.ts b/src/commands/ban.ts index b18a0ea..8d6e375 100644 --- a/src/commands/ban.ts +++ b/src/commands/ban.ts @@ -45,7 +45,7 @@ export default class Ban extends Command { if (reason.length > 512) return this.error(message.channel, 'Ban reasons cannot be longer than 512 characters.'); } await this.client.util.moderation.ban(user, message.member, momentMilliseconds, reason); - return this.success(message.channel, `${user.username}#${user.id} has been banned.`); + return this.success(message.channel, `${user.username}#${user.discriminator} has been banned.`); } catch (err) { return this.client.util.handleError(err, message, this, false); }