Skip to content

Commit

Permalink
typings(GuildEmoji): make url not-nullable (#3656)
Browse files Browse the repository at this point in the history
* typings(GuildEmoji): make url not-nullable

* make GuildEmoji.url readonly
  • Loading branch information
Jyguy authored and SpaceEEC committed Jan 4, 2020
1 parent c734979 commit 155b682
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ declare module 'discord.js' {
public managed: boolean;
public requiresColons: boolean;
public roles: GuildEmojiRoleStore;
public readonly url: string;
public delete(reason?: string): Promise<GuildEmoji>;
public edit(data: GuildEmojiEditData, reason?: string): Promise<GuildEmoji>;
public equals(other: GuildEmoji | object): boolean;
Expand Down

0 comments on commit 155b682

Please sign in to comment.