Fix ban message

merge-requests/6/merge
Bsian 2020-05-30 10:09:31 -04:00
parent 63ef7afb70
commit 0aea3d1bd2
1 changed files with 1 additions and 1 deletions

View File

@ -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.'); 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); 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) { } catch (err) {
return this.client.util.handleError(err, message, this, false); return this.client.util.handleError(err, message, this, false);
} }