class Role
extends SnowflakeBase
Re-export
import { Role } from "https://deno.land/x/harmony@v2.9.0/mod.ts";
Represents a Guild Role
Constructors
Properties
guild: Guild
Methods
readFromData(data: RolePayload): void
roleIcon(format?: ImageFormats, size?: ImageSize): string | undefined
Get the icon for the role. If set, is either a URL to an icon, or a Unicode emoji.