import { RolesManager } from "https://deno.land/x/harmony@v2.9.1/src/managers/roles.ts";
Properties
guild: Guild
Methods
create(data?: CreateGuildRoleOptions): Promise<Role>
Create a Guild Role
edit(role: Role | string, options: RoleModifyPayload): Promise<Role>
editPositions(...positions: Array<{ id: string | Role; position: number | null; }>): Promise<RolesManager>
Modify the positions of a set of role positions for the guild.
fromPayload(roles: RolePayload[]): Promise<boolean>