From 307c75c91efeb74cde87763d80715b7ceb195c9f Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Wed, 9 Dec 2020 06:31:34 +0100 Subject: [PATCH] fix: allow/deny are strings in v8 (#239) --- src/types/guild.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/guild.ts b/src/types/guild.ts index e4a3be36a..88b6b8a09 100644 --- a/src/types/guild.ts +++ b/src/types/guild.ts @@ -469,9 +469,9 @@ export interface RawOverwrite { /** Whether this is a role or a member */ type: OverwriteType; /** The permissions that this id is allowed to do. (This will mark it as a green check.) */ - allow: number; + allow: string; /** The permissions that this id is NOT allowed to do. (This will mark it as a red x.) */ - deny: number; + deny: string; } export interface PermissionOverwrite