Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add application emojis #1990

Merged
merged 27 commits into from
Aug 5, 2024
Merged

Conversation

syncblaze
Copy link
Contributor

@syncblaze syncblaze commented Aug 2, 2024

Summary

I've added the needed rest functions for handling application emojis and created an ApplicationEmoji class.

I didn't want to use either CustomEmoji or KnownCustomEmoji because CustomEmoji is missing the user field and KnownCustomEmoji has a guild_id field which i didn't want to mess with because KnownCustomEmoji is used for the CacheImpl and i didn't want to mess up the caching somehow which uses the guild_id.

It's my first time contributing to a big project and my first time using Github not only for personal use, so I'm open to critic or any tips

Checklist

  • I have run nox and all the pipelines have passed.
  • I have made unittests according to the code I have added/modified/deleted.

hikari/impl/entity_factory.py Outdated Show resolved Hide resolved
hikari/emojis.py Outdated Show resolved Hide resolved
hikari/emojis.py Outdated Show resolved Hide resolved
hikari/emojis.py Outdated Show resolved Hide resolved
hikari/api/rest.py Outdated Show resolved Hide resolved
hikari/api/rest.py Outdated Show resolved Hide resolved
hikari/api/rest.py Outdated Show resolved Hide resolved
hikari/api/rest.py Outdated Show resolved Hide resolved
hikari/api/rest.py Show resolved Hide resolved
changes/1990.feature.md Outdated Show resolved Hide resolved
@davfsa
Copy link
Member

davfsa commented Aug 2, 2024

Really nice first pull request btw!

Thanks for taking the time to work on this!!

@syncblaze
Copy link
Contributor Author

Really nice first pull request btw!

Thanks for taking the time to work on this!!

Thank you for the quick response! I will take a deep look at whats needing to change when I'm back at my pc but thanks for now!

@davfsa davfsa added the enhancement New feature or request label Aug 3, 2024
@davfsa davfsa changed the title Adding application emojis Add application emojis Aug 3, 2024
hikari/impl/entity_factory.py Outdated Show resolved Hide resolved
hikari/internal/cache.py Outdated Show resolved Hide resolved
hikari/impl/cache.py Outdated Show resolved Hide resolved
@davfsa davfsa enabled auto-merge (squash) August 5, 2024 15:51
@davfsa davfsa merged commit 2262a68 into hikari-py:master Aug 5, 2024
27 checks passed
@syncblaze syncblaze deleted the adding-application-emojis branch August 5, 2024 15:57
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.

2 participants