fix for ban cmd issue
parent
fee475b409
commit
ca003b5ca4
|
@ -24,6 +24,8 @@ export default class Ban extends Command {
|
||||||
} catch {
|
} catch {
|
||||||
return this.error(message.channel, 'Cannot find user.');
|
return this.error(message.channel, 'Cannot find user.');
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
user = member.user;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await this.client.guilds.get(this.client.config.guildID).getBan(args[0]);
|
await this.client.guilds.get(this.client.config.guildID).getBan(args[0]);
|
||||||
|
|
Loading…
Reference in New Issue