-
Notifications
You must be signed in to change notification settings - Fork 599
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
Update gateway intents with up-to-date information #2585
Conversation
Do you think it might be better to simply deprecate |
It was deprecated until now (that was what I earlier did). But, tbh I think it should be removed now so it can be one breaking release instead of doing it later in my opinion. |
I'm talking about specifically marking the constant as But, if you think most people won't notice, then breaking it immediately might be fine too. |
True, I'm conflicted by that too. I do think that its a really simple change to make anyways and that most people won't really notice. I bet most just enable all non-priv intents anyways |
/// Backwards compatibility with old gateway event name. Same as GUILD_MODERATION | ||
const GUILD_BANS = 1 << 2; |
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.
After some thought, I think the best course of action is to just keep the old name and mark it with #[deprecated = "use `GatewayIntents::GUILD_MODERATION` instead"]
.
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.
Alright, will do in a bit
Also, turns out EDIT: I was confusing permissions and gateway intents. Ignore what I said; this change should be made separately since there are other related permissions changes it could go with. |
Alright |
Just to be clear, I still think |
Can be closed in favor of #2593 |
Updates the gateway intents with up to date information. Also removes GUILD_BANS as it doesn't even exist anymore