Skip to content

Commit

Permalink
Fix doc typo: whereever -> wherever (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j authored May 15, 2022
1 parent d8d8c40 commit cb550ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class Context implements RenamedUpdate {
// AGGREGATION SHORTCUTS

/**
* Get message object from whereever possible. Alias for `ctx.message ??
* Get message object from wherever possible. Alias for `ctx.message ??
* ctx.editedMessage ?? ctx.callbackQuery?.message ?? ctx.channelPost ??
* ctx.editedChannelPost`
*/
Expand All @@ -169,7 +169,7 @@ export class Context implements RenamedUpdate {
);
}
/**
* Get chat object from whereever possible. Alias for `(ctx.msg ??
* Get chat object from wherever possible. Alias for `(ctx.msg ??
* ctx.myChatMember ?? ctx.chatMember ?? ctx.chatJoinRequest)?.chat`
*/
get chat(): Chat | undefined {
Expand All @@ -189,7 +189,7 @@ export class Context implements RenamedUpdate {
return this.msg?.sender_chat;
}
/**
* Get message author from whereever possible. Alias for
* Get message author from wherever possible. Alias for
* `(ctx.callbackQuery?? ctx.inlineQuery ?? ctx.shippingQuery ??
* ctx.preCheckoutQuery ?? ctx.chosenInlineResult ?? ctx.msg ??
* ctx.myChatMember ?? ctx.chatMember ?? ctx.chatJoinRequest)?.from`
Expand All @@ -209,7 +209,7 @@ export class Context implements RenamedUpdate {
)?.from;
}
/**
* Get inline message ID from whereever possible. Alias for
* Get inline message ID from wherever possible. Alias for
* `(ctx.callbackQuery ?? ctx.chosenInlineResult)?.inline_message_id`
*/
get inlineMessageId(): string | undefined {
Expand Down

0 comments on commit cb550ec

Please sign in to comment.