mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user