From 97c7b4ea24852f49b5f952e81a0e6f21ed405316 Mon Sep 17 00:00:00 2001 From: Advaith Date: Sat, 19 Sep 2020 04:59:11 -0700 Subject: [PATCH] fix(*): correct typos (#18) Co-authored-by: Vlad Frangu --- common/index.ts | 2 +- v6/payloads/guild.ts | 4 ++-- v6/payloads/permissions.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/index.ts b/common/index.ts index 0b9667b8..664949e1 100644 --- a/common/index.ts +++ b/common/index.ts @@ -18,7 +18,7 @@ export enum RESTJSONErrorCodes { UnknownToken, UnknownUser, UnknownEmoji, - UnknownWebook, + UnknownWebhook, UnknownBan = 10026, UnknownSKU, diff --git a/v6/payloads/guild.ts b/v6/payloads/guild.ts index dded8a23..963dad69 100644 --- a/v6/payloads/guild.ts +++ b/v6/payloads/guild.ts @@ -80,11 +80,11 @@ export interface APIGuild extends APIPartialGuild { public_updates_channel_id: string | null; max_video_channel_users?: number; /** - * Returned by calling GET `/guilds/{guid.id}` with the query `with_counts` set to `true` + * Returned by calling GET `/guilds/{guild.id}` with the query `with_counts` set to `true` */ approximate_member_count?: number; /** - * Returned by calling GET `/guilds/{guid.id}` with the query `with_counts` set to `true` + * Returned by calling GET `/guilds/{guild.id}` with the query `with_counts` set to `true` */ approximate_presence_count?: number; welcome_screen?: APIGuildWelcomeScreen; diff --git a/v6/payloads/permissions.ts b/v6/payloads/permissions.ts index f980efb7..e44a33cb 100644 --- a/v6/payloads/permissions.ts +++ b/v6/payloads/permissions.ts @@ -7,7 +7,7 @@ * * These flags are exported as `BigInt`s and NOT numbers. For most of them, you can * convert them in a number by wrapping it in `Number()`, however be careful as any - * futher bits added may cause issues if done so. Try to use BigInts as much as possible + * further bits added may cause issues if done so. Try to use BigInts as much as possible * or modules that can replicate them in some way. */ export const PermissionFlagsBits = {