Skip to content

Fix retrieving bans without reason by using Maybe for reason #226

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

Merged
merged 3 commits into from
Jul 4, 2025

Conversation

yutotakano
Copy link
Member

Fixes #219, which was caused by the library expecting "reason" as a required field in the GuildBan object. This is actually an optional field that might not be provided if the reason was not provided for the ban.

@L0neGamer L0neGamer self-requested a review July 4, 2025 13:09
@L0neGamer
Copy link
Contributor

changelog conflicts now!

@yutotakano yutotakano merged commit 58c9ef0 into discord-haskell:master Jul 4, 2025
8 checks passed
@yutotakano yutotakano deleted the fix-guild-ban-types branch July 4, 2025 16:19
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.

[BUG] Ban Retrieval Fails
2 participants