feat(GuildEmoji): cache the author (#4334)

Co-authored-by: Papaia <43409674+Papaia@users.noreply.github.com>
This commit is contained in:
Bence
2020-08-12 09:27:00 +02:00
committed by GitHub
parent 599cde3627
commit b7740d4859
2 changed files with 23 additions and 10 deletions

1
typings/index.d.ts vendored
View File

@@ -793,6 +793,7 @@ declare module 'discord.js' {
export class GuildEmoji extends BaseGuildEmoji {
public readonly deletable: boolean;
public guild: Guild;
public author: User | null;
public readonly roles: GuildEmojiRoleManager;
public readonly url: string;
public delete(reason?: string): Promise<GuildEmoji>;