-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[V3 Core] More features for the bot invite URL #1847
Merged
mikeshardmind
merged 18 commits into
Cog-Creators:V3/develop
from
laggron42:invite-additions
Jun 3, 2019
Merged
[V3 Core] More features for the bot invite URL #1847
mikeshardmind
merged 18 commits into
Cog-Creators:V3/develop
from
laggron42:invite-additions
Jun 3, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tobotimus
added
QA: Unassigned
Blocked By: Dependency
Blocked by a package listed as a dependency.
and removed
QA: Needed
Blocked By: Other PR
Blocked by another PR.
labels
Aug 13, 2018
My pull request was just merged (actually rebased, but that's the same). This PR is not blocked anymore by discord.py. |
mikeshardmind
suggested changes
Oct 1, 2018
Has conflict, please fix. Also, is the stuff in the rewrite branch of D.py yet? |
@Kowlin yep, PR is rebased since august. I'll fix the conflicts. |
Kowlin
removed
the
Blocked By: Dependency
Blocked by a package listed as a dependency.
label
Feb 8, 2019
mikeshardmind
suggested changes
Feb 8, 2019
mikeshardmind
suggested changes
Jun 3, 2019
mikeshardmind
approved these changes
Jun 3, 2019
laggron42
pushed a commit
to laggron42/Laggrons-Dumb-Cogs
that referenced
this pull request
Jun 18, 2019
This fixes the conflict introduced by Cog-Creators/Red-DiscordBot#1847 Merge of pull request #51 by @NeuroAssassin * Change to roleinviteset * Update to roleinviteset in docs * Update to roleinviteset for readme * I did a whoopsie
laggron42
pushed a commit
to laggron42/Laggrons-Dumb-Cogs
that referenced
this pull request
May 22, 2020
This fixes the conflict introduced by Cog-Creators/Red-DiscordBot#1847 Merge of pull request #51 by @NeuroAssassin * Change to roleinviteset * Update to roleinviteset in docs * Update to roleinviteset for readme * I did a whoopsie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type
Description of the changes
This PR adds a new
[p]inviteset
group command that allows 3 things:Make the
[p]invite
command available for everyone, so they can invite the bot without asking its owner. However, if the "Public bot" option is not ticked in the token settings, the command will block the action and tell the user to modify it.Modify the permission level of the bot. The permission is given with the permission calculator (too complicated to use discord's method and iterate every permission) and it will be added to the bot's invite.
The ability to add a redirect URL. It will be added to the bot's invite too, and will redirect to a website when the bot is invited.
Warning
This PR is using a new feature that I made, which allows the bot to use the
bot_public
endpoint (to know if the "public bot" option is enabled or not). A PR is open on discord.py's repo, so please wait for it to be merged before merging this.The PR : Rapptz/discord.py#1341
If you want to test that feature, do this in a virtualenv: