mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
feat(Emoji): backport delete method (#3343)
This backports #1877 (c93c4ad21f) in a semver-minor manner.
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -420,6 +420,7 @@ declare module 'discord.js' {
|
||||
public addRestrictedRoles(roles: Role[]): Promise<Emoji>;
|
||||
public edit(data: EmojiEditData, reason?: string): Promise<Emoji>;
|
||||
public equals(other: Emoji | object): boolean;
|
||||
public delete(reason?: string): Promise<this>;
|
||||
public fetchAuthor(): Promise<User>;
|
||||
public removeRestrictedRole(role: Role): Promise<Emoji>;
|
||||
public removeRestrictedRoles(roles: Role[]): Promise<Emoji>;
|
||||
|
||||
Reference in New Issue
Block a user