serious role position stuff (#1159)

* serious role position stuff

* kill meh

* Update Role.js

* Update Guild.js

* Update Role.js
This commit is contained in:
Gus Caplan
2017-02-01 16:02:16 -06:00
committed by Amish Shah
parent a2d6791cd8
commit 1e94a9e2a4
4 changed files with 39 additions and 23 deletions

View File

@@ -12,6 +12,7 @@ class GuildRoleCreate extends Action {
const role = new Role(guild, data.role);
guild.roles.set(role.id, role);
if (!already) client.emit(Constants.Events.GUILD_ROLE_CREATE, role);
return {
role,
};