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

Update to Python 3.10 and discord.py 2.0 beta #46

Merged
merged 34 commits into from
Aug 30, 2021
Merged

Update to Python 3.10 and discord.py 2.0 beta #46

merged 34 commits into from
Aug 30, 2021

Conversation

Arcensoth
Copy link
Member

@Arcensoth Arcensoth commented Aug 26, 2021

This PR is structured around 3 overarching goals:

  1. Update to Python 3.10. Some extensions may need to be adjusted to transition smoothly.
  2. Update to the (final) discord.py 2.0 beta. Again, some extensions may need to be adjusted.
  3. Merge commanderbot-core into commanderbot-ext for one final, unified commanderbot-py project.

Extensions to update

Additional changes

Changes to automod

Changes to roles

- Unresolved roles are now deregistered and cleaned-up automatically. (fixes #47)
- Elevated commands can no longer add/remove unregistered roles to/from users. (fixes #48)
- Users can now join/leave multiple roles in one command. (fixes #49)
- Multiple roles can now be added/removed to/from multiple members all in one command.
- Roles can now be targeted using a partial name match. (fixes #50)
- Even data now includes `user` fields. (fixes #43)
- Even data now include member date fields by default.
- `message` triggers now allow basic matching of message content. (fixes #44)
This involves moving the bot core from cb-core to cb-ext, removing the dependency, and restructuring the imports.
@Arcensoth Arcensoth marked this pull request as ready for review August 30, 2021 04:06
@Arcensoth Arcensoth requested a review from vberlier as a code owner August 30, 2021 04:06
@Arcensoth Arcensoth merged commit 67cc96d into main Aug 30, 2021
@Arcensoth Arcensoth deleted the dpy2 branch August 30, 2021 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment