Skip to content

Conversation

@B1ue-Dev
Copy link
Contributor

@B1ue-Dev B1ue-Dev commented May 9, 2022

About

This pull request is about adding an url property under interactions.Emoji. Currently, the only way to get the emoji's id is by getting the emoji's id, then create an url with /emojis/{emoji.id}.png or /emojis/{emoji.id}.gif if that emoji is an animated one. The property url will make it easier to get the emoji's URL.

Checklist

  • I've ran pre-commit to format and lint the change(s) made.
  • I've checked to make sure the change(s) work on 3.8.6 and higher.
  • This fixes/solves an Issue.
  • I've made this pull request for/as: (check all that apply)
    • Documentation
    • Breaking change
    • New feature/enhancement
    • Bugfix

@B1ue-Dev B1ue-Dev closed this May 9, 2022
@B1ue-Dev B1ue-Dev reopened this May 9, 2022
@AstreaTSS AstreaTSS added on hold This issue/PR is on hold pending higher priority issues/PRs enhancement New feature or request labels May 9, 2022
@B1ue-Dev
Copy link
Contributor Author

OK, with the help of Max, I think this is ready to be merged.

@AstreaTSS
Copy link
Member

Noted! Just note that this PR is on hold the bug fix PRs are merged.

Copy link
Contributor

@Toricane Toricane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small docstring suggestion

Copy link
Contributor

@Toricane Toricane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Toricane Toricane requested a review from EepyElvyra May 11, 2022 01:42
@FayeDel FayeDel linked an issue May 13, 2022 that may be closed by this pull request
1 task
@Toricane Toricane removed the on hold This issue/PR is on hold pending higher priority issues/PRs label May 14, 2022
@Toricane Toricane enabled auto-merge (squash) May 14, 2022 21:17
@Toricane Toricane merged commit 1de7844 into interactions-py:unstable May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQUEST] Adding url property for getting the Emoji's URL

5 participants