feat(GuildEmojiManager): implement GuildEmojiManager#fetch (#4933)

* feat: GuildEmojiManager#fetch

* typings: GuildEmojiManager#fetch
This commit is contained in:
Ishmaam Khan
2020-12-15 02:44:15 +06:00
committed by GitHub
parent be0f383568
commit ffe31405ff
2 changed files with 35 additions and 0 deletions

2
typings/index.d.ts vendored
View File

@@ -1913,6 +1913,8 @@ declare module 'discord.js' {
name: string,
options?: GuildEmojiCreateOptions,
): Promise<GuildEmoji>;
public fetch(id: Snowflake, cache?: boolean, force?: boolean): Promise<GuildEmoji>;
public fetch(id?: Snowflake, cache?: boolean, force?: boolean): Promise<Collection<Snowflake, GuildEmoji>>;
}
export class GuildEmojiRoleManager {