Skip to content

Commit

Permalink
fix: correct emoji cdn url domain
Browse files Browse the repository at this point in the history
Signed-off-by: ItsRqtl <itsrqtl@gmail.com>
  • Loading branch information
ItsRqtl authored Nov 15, 2023
1 parent f344c40 commit 0d78f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions/models/discord/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def delete(self, reason: Optional[str] = None) -> None:
@property
def url(self) -> str:
"""CDN url for the emoji."""
return f"https://cdn.discordapp.net/emojis/{self.id}.{'gif' if self.animated else 'png'}"
return f"https://cdn.discordapp.com/emojis/{self.id}.{'gif' if self.animated else 'png'}"


def process_emoji_req_format(emoji: Optional[Union[PartialEmoji, dict, str]]) -> Optional[str]:
Expand Down

0 comments on commit 0d78f02

Please sign in to comment.