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

Fix error with flag params. #2165

Merged
merged 1 commit into from Mar 3, 2022
Merged

Conversation

bman46
Copy link
Contributor

@bman46 bman46 commented Mar 3, 2022

Changed payload["flags"] = Flags.Value; to fix #2163.

Tested with the following cases:
1:

await message.Channel.SendFileAsync("Video.mp4", flags: MessageFlags.SuppressEmbeds);

2:

await message.Channel.SendFileAsync("Video.mp4");

@csmir
Copy link
Collaborator

csmir commented Mar 3, 2022

LGTM

@csmir csmir requested a review from quinchs March 3, 2022 15:57
@quinchs quinchs merged commit a5d3add into discord-net:dev Mar 3, 2022
@bman46 bman46 deleted the FixSendFileAsync branch March 3, 2022 23:53
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]: 50035 NUMBER_TYPE_COERCE Error
3 participants