Read through hasPermission. Roles are fixed in code. An admin holds
every permission, and a moderator the moderation ones and @everyone in
the chat.
Record<Role, readonly Permission[]>
Read through hasPermission. Roles are fixed in code. An admin holds
every permission, and a moderator the moderation ones and @everyone in
the chat.
Record<Role, readonly Permission[]>
import { ROLE_PERMISSIONS } from "shared/permissions.ts";