refactor(Actions): remove obsolete user and guild member get actions (#2061)

The UserGetAction was never used.
The GuildMemberGetAction was only once used.
Easily replaced with a shorter and more comprehensible line. (Also consistent with the rest of the library)
This commit is contained in:
SpaceEEC
2017-10-26 09:52:03 +02:00
committed by Amish Shah
parent 0589b7d7f1
commit cd08a3b5a4
4 changed files with 1 additions and 24 deletions

View File

@@ -542,7 +542,7 @@ class Guild extends Base {
}
}
return this.client.api.guilds(this.id).members(user.id).put({ data: options })
.then(data => this.client.actions.GuildMemberGet.handle(this, data).member);
.then(data => this.members.create(data));
}
/**