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 fail_if_not_exists to MessageReference #1376

Merged
merged 2 commits into from May 14, 2023

Conversation

Earlopain
Copy link
Contributor

https://discord.com/developers/docs/resources/channel#message-reference-object

I wanted to make this a parameter of the Reference function where you can pass in false if needed. Go doesn't support default parameter values so I don't know how I should go about doing that. Any pointer are appreciated.

message.go Outdated Show resolved Hide resolved
message.go Outdated Show resolved Hide resolved
@FedorLap2006 FedorLap2006 added the feature Feature implementation label May 14, 2023
@FedorLap2006 FedorLap2006 added this to the v0.28.0 milestone May 14, 2023
message.go Outdated Show resolved Hide resolved
@FedorLap2006 FedorLap2006 merged commit 1252b71 into bwmarrin:master May 14, 2023
8 checks passed
@FedorLap2006
Copy link
Collaborator

Thanks for your contribution!

@Earlopain Earlopain deleted the message-reference branch May 14, 2023 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants