lint errors/typos

This commit is contained in:
noamboy2006 2020-12-05 11:39:37 +09:00
parent fe6930c065
commit 43d013b62d
5 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ export class ChannelsManager extends BaseManager<ChannelPayload, Channel> {
return result
}
/** Fetchs a Channel by ID, cache it, resolve it */
/** Fetches a Channel by ID, cache it, resolve it */
async fetch<T = Channel>(id: string): Promise<T> {
return await new Promise((resolve, reject) => {
this.client.rest

View file

@ -20,7 +20,7 @@ export class EmojisManager extends BaseManager<EmojiPayload, Emoji> {
return emoji
}
/** Fetchs an Emoji by Guild ID and Emoji ID, cache it and resolve it */
/** Fetches an Emoji by Guild ID and Emoji ID, cache it and resolve it */
async fetch(guildID: string, id: string): Promise<Emoji> {
return await new Promise((resolve, reject) => {
this.client.rest

View file

@ -288,7 +288,7 @@ export class Guild extends Base {
}
/**
* Fetchs Guild's Integrations (Webhooks, Bots, etc.)
* Fetches Guild's Integrations (Webhooks, Bots, etc.)
*/
async fetchIntegrations(): Promise<GuildIntegration[]> {
const raw = (await this.client.rest.get(

View file

@ -16,7 +16,7 @@ import { UserPayload } from './user.ts'
/**
* Gateway OPcodes from Discord docs.
*/
export enum GatewayOpcodes { //Opcode 5 is empty according to discord api docs.
export enum GatewayOpcodes { // Opcode 5 is empty according to discord api docs.
DISPATCH = 0,
HEARTBEAT = 1,
IDENTIFY = 2,

View file

@ -136,7 +136,7 @@ export interface GuildIntegrationPayload {
expire_grace_period?: number
user?: UserPayload
account: IntegrationAccountPayload
synced_at?: string // Actually a ISO Timestamp, but we parse in constructor'
synced_at?: string // Actually a ISO Timestamp, but we parse in constructor
subscriber_count?: number
revoked?: boolean
application?: ApplicationPayload