mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-17 19:58:18 +00:00
ref
This commit is contained in:
@@ -22,7 +22,7 @@ export async function createRole(
|
||||
});
|
||||
|
||||
const roleData = result as RoleData;
|
||||
const role = await structures.createRoleStruct(roleData);
|
||||
const role = await structures.createDiscordenoRole(roleData);
|
||||
const guild = await cacheHandlers.get("guilds", guildId);
|
||||
guild?.roles.set(role.id, role);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user