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 URL methods and properties for rich presence assets. #961

Merged
merged 9 commits into from
Jan 31, 2022

Conversation

FasterSpeeding
Copy link
Collaborator

Summary

Checklist

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

Related issues

@FasterSpeeding
Copy link
Collaborator Author

FasterSpeeding commented Jan 9, 2022

discord/discord-api-docs#4317 The "dynamic" asset urls haven't been documented yet and might not be complete so I'm just opening this as a draft encase anybody has objections on how this is structured or behaves. Plus i'm not too sure if I want to add these special cased urls to hikari.urls or not yet

hikari/presences.py Outdated Show resolved Hide resolved
hikari/presences.py Outdated Show resolved Hide resolved
hikari/presences.py Outdated Show resolved Hide resolved
@davfsa davfsa added the enhancement New feature or request label Jan 22, 2022
@FasterSpeeding
Copy link
Collaborator Author

Lol tbh this is kinda fucked cause Night Discord decided to not document any of the 3rd party dynamic urls without giving any reasoning so ig I'll have to just leave those out

@FasterSpeeding FasterSpeeding marked this pull request as ready for review January 29, 2022 16:45
@FasterSpeeding FasterSpeeding requested a review from davfsa January 30, 2022 08:59
@FasterSpeeding FasterSpeeding enabled auto-merge (squash) January 30, 2022 09:56
hikari/presences.py Show resolved Hide resolved
hikari/presences.py Show resolved Hide resolved
hikari/internal/routes.py Outdated Show resolved Hide resolved
@FasterSpeeding FasterSpeeding merged commit ba3b821 into hikari-py:master Jan 31, 2022
@FasterSpeeding FasterSpeeding deleted the task/asset-urls branch January 31, 2022 09:20
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