Fix ban message
parent
63ef7afb70
commit
0aea3d1bd2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue