mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
parent
85413481ed
commit
a68f14500d
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ class GuildMemberStore extends DataStore {
|
|||
const id = this.client.users.resolveID(user);
|
||||
if (!id) throw new Error('BAN_RESOLVE_ID');
|
||||
return this.client.api.guilds(this.guild.id).bans[id].delete({ reason })
|
||||
.then(() => user);
|
||||
.then(() => this.client.users.resolve(user));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue