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

Make channel ID optional when replying #1145

Conversation

DEVTomatoCake
Copy link
Member

@DEVTomatoCake DEVTomatoCake commented Jul 11, 2024

This makes guild_id and channel_id optional when sending a message for compatibility, e.g. discord.js fails to use replies otherwise.

TS complains about some properties being missing so it was suggested to simply add @ts-expect-error and be done with it 🤷

@MaddyUnderStars
Copy link
Member

Could you regen the schema for this pr and then I'll merge

@DEVTomatoCake DEVTomatoCake force-pushed the fix/reply-channelid-optional branch from 42cf4b0 to df9153f Compare July 17, 2024 10:16
@MaddyUnderStars
Copy link
Member

Why close it? You just needed to merge and regen the schema haha

@DEVTomatoCake DEVTomatoCake deleted the fix/reply-channelid-optional branch July 17, 2024 10:19
@DEVTomatoCake
Copy link
Member Author

Why close it? You just needed to merge and regen the schema haha

Because it didn't let me merge due to a non-existing conflict in the schemas file?

@MaddyUnderStars
Copy link
Member

You wouldn't be able to do it in the web UI. if you started a merge in cli and then regened the schema before committing it would've been fine

@DEVTomatoCake
Copy link
Member Author

That's what I did, I've tried it in CLI but nope

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.

2 participants