fix: type issues

This commit is contained in:
Skillz4Killz
2022-09-03 17:01:13 +00:00
committed by GitHub
parent b50314faee
commit 8800beb684
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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;
}
+1
View File
@@ -30,6 +30,7 @@ export async function getIntegrations(bot: Bot, guildId: bigint): Promise<Collec
subscriber_count: result.subscriber_count,
revoked: result.revoked,
application: result.application,
scopes: result.scopes,
});
return [integration.id, integration];
}),