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 get_guild_ban and fix typo. #110

Closed
wants to merge 1 commit into from
Closed

Add get_guild_ban and fix typo. #110

wants to merge 1 commit into from

Conversation

Xh4H
Copy link
Contributor

@Xh4H Xh4H commented Sep 4, 2018

Added missing API route.

Copy link
Collaborator

@jchristgit jchristgit left a comment

Choose a reason for hiding this comment

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

Hi @Xh4H, sorry for the late review. I think we need to adjust the return type, as the get guild ban route returns a special object, or am I misinterpreting the docs?

https://discord.com/developers/docs/resources/guild#ban-object

I understand if you don't want to work on this anymore, just drop a short note and we'll take up on it.

@jchristgit jchristgit self-assigned this Jan 12, 2021
@jchristgit
Copy link
Collaborator

Hi @Xh4H, did you find some time to look into this? Otherwise I'd push changes for my comment and merge 😁

@jchristgit
Copy link
Collaborator

I've cherry-picked and added the struct changes in #224, closing here

@jchristgit jchristgit closed this Feb 6, 2021
jchristgit added a commit that referenced this pull request May 14, 2021
…uct. (#224)

* Add get_guild_ban and fix typo.

* Decode into `Guild.Ban` struct.

Co-authored-by: Juan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants