Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix Doc Arg Mismatch: Rename "options" to "response" #589

Merged
merged 1 commit into from
May 8, 2024

Conversation

njwest
Copy link
Contributor

@njwest njwest commented May 8, 2024

This PR renames the options arg in create_interaction_response()/3 to response to match the docs and other create_interaction_response functions.

Right now, the docs read:

Screenshot 2024-05-08 at 11 59 29 AM

This threw me off at first as a Discord API noob.

Nostrum rules, thank you for the great software!

Copy link
Collaborator

@jb3 jb3 left a comment

Choose a reason for hiding this comment

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

Love it!

@jb3 jb3 merged commit 2c5b743 into Kraigie:master May 8, 2024
9 checks passed
@jb3
Copy link
Collaborator

jb3 commented May 8, 2024

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants