-
Notifications
You must be signed in to change notification settings - Fork 417
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
Inline replies and default intents #1027
Conversation
Maybe I don't have a proper understanding of intents, but imo defaulting to using all intents (bar the privileged intents) kinda seems like it's undoing the work of intents entirely. I would expect most people would leave this default unless they need the privileged intents, rather than only requesting the intents that they need. As well as that, for people that don't need any intents, I would expect just leaving the parameter blank would be fine, but in this case it would be sending almost all the intents? |
Completely get your thought here - I thought the "general" user who had no idea what intents are would benefit from this, hence why the PR exists. Of course people can choose which intents they need, that's up to their own discretion and their fault if something breaks. I just set this up with a "get started quicker and sort it out later" mindset |
Going to double check if everything is up to date before I mark this as ready again |
} | ||
if(data.referenced_message !== undefined) { | ||
this.referencedMessage = this.channel.messages.get(data.referenced_message.id) || new Message(data.referenced_message, this._client); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated?
Going to split the PR |
PR split to the 2 above |
Default to v8 gateway and REST versions, as a result, alsoadd default intents.Adds inline replies which are not live yet but referenced as per discord/discord-api-docs#2118
EDIT: @Khaaz wanted me to revert back to v7 REST and v6 gateway as he had other stuff planned for v8 which would cause a bit of a mess with this PR