mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 10:58:18 +00:00
GuildEmoji.fetchAuthor() error handling (#2788)
* handle when client has insufficient permissions, add typing * code review
This commit is contained in:
Vendored
+1
@@ -545,6 +545,7 @@ declare module 'discord.js' {
|
||||
public delete(reason?: string): Promise<GuildEmoji>;
|
||||
public edit(data: GuildEmojiEditData, reason?: string): Promise<GuildEmoji>;
|
||||
public equals(other: GuildEmoji | object): boolean;
|
||||
public fetchAuthor(): Promise<User>;
|
||||
public setName(name: string, reason?: string): Promise<GuildEmoji>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user