From 8800beb6848173054ebdda9951d35ab0ec1d1cd0 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Sat, 3 Sep 2022 17:01:13 +0000 Subject: [PATCH] fix: type issues --- helpers/channels/editChannel.ts | 2 +- helpers/integrations/getIntegrations.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/channels/editChannel.ts b/helpers/channels/editChannel.ts index 57e97a83b..86f3f8ec6 100644 --- a/helpers/channels/editChannel.ts +++ b/helpers/channels/editChannel.ts @@ -197,5 +197,5 @@ export interface ModifyChannel { emojiName: string | null; }; /** the initial rate_limit_per_user to set on newly created threads in a channel. this field is copied to the thread at creation time and does not live update. */ - defaultThreadRateLimitPerUser: number; + defaultThreadRateLimitPerUser?: number; } diff --git a/helpers/integrations/getIntegrations.ts b/helpers/integrations/getIntegrations.ts index 1a43de796..47a34feac 100644 --- a/helpers/integrations/getIntegrations.ts +++ b/helpers/integrations/getIntegrations.ts @@ -30,6 +30,7 @@ export async function getIntegrations(bot: Bot, guildId: bigint): Promise