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(RESTPostAPIChannelMessageJSONBody): mark tts as a full boolean #96

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

didinele
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
Currently, APIMessage is not assignable to RESTPostAPIChannelMessageJSONBody due to the latter taking tts?: true as a property.

Also, just generally, setting tts to false is valid, but the typings don't allow for it.

@vladfrangu vladfrangu changed the title fix(RESTPostAPIChannelMessageJSONBody): false should be valid for tts fix(RESTPostAPIChannelMessageJSONBody): mark tts as a full boolean Mar 17, 2021
@vladfrangu vladfrangu merged commit 9d8d090 into discordjs:main Mar 17, 2021
@didinele didinele deleted the fix/rest-post-message-tts branch March 17, 2021 08:02
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.

None yet

2 participants