swc/crates/swc_bundler/tests/.cache/deno/e6bfdc6d796554312de4bfd98ee1d11cef2cdbc6.ts
2021-11-09 20:42:49 +09:00

27 lines
766 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/permissions/role.ts
import { RoleTags } from "./role_tags.ts";
/** https://discord.com/developers/docs/topics/permissions#role-object-role-structure */
export interface Role {
/** Role id */
id: string;
/** Role name */
name: string;
/** Integer representation of hexadecimal color code */
color: number;
/** If this role is showed seperately in the user listing */
hoist: boolean;
/** Position of this role */
position: number;
/** Permission bit set */
permissions: string;
/** Whether this role is managed by an integration */
managed: boolean;
/** Whether this role is mentionable */
mentionable: boolean;
/** The tags this role has */
tags?: RoleTags;
}