Releases: CommanderBot-Dev/commanderbot-py
Releases · CommanderBot-Dev/commanderbot-py
v0.19.0
Added
- Added support for
.env
files (to provide the bot token) - Implemented
mccq
command (from cogbot) allay
:- New command, turns a plaintext markdown-like format into a text component with optional indentation levels
automod
:- Added new thread fields to event metadata
- Implemented new
ChannelTypesGuard
to account for threads - Implemented new triggers:
thread_updated
- Implemented new conditions:
actor_is_bot
actor_is_self
author_is_bot
author_is_self
actor_member_for
author_member_for
member_for
message_has_mentions
thread_auto_archive_duration
- Implemented new actions:
check_messages
dm_member
manifest
:- Added a task that requests the latest
min_engine_version
- Now accepts a
version_url
option in the bot config - Added
manifests
command withstatus
andupdate
subcommandsstatus
shows the status of version requestsupdate
manually requests the version
- Added a task that requests the latest
roles
:- Implemented new
about
subcommand
- Implemented new
Changed
- Updated to the latest version of discord.py (after it was revived from the dead)
faq
:- The list of FAQs is now separated by comma
manifest
:- Generated manifests were changed into file attachments
quote
:- Improved attachment/embed handling
roles
:- Updated the set of safe permissions to reduce unnecessary warnings
- Duplicate roles are now filtered-out prior to joining/leaving
- Now using difflib to help disambiguate roles
Fixed
- Utcnow and datetime fixes (#75)
v0.18.0
Added
automod
: Added support for JSON paths for easier configuration of rulesjira
: Reimplemented link support (#65)roles
: Added tips for providing roles
Changed
automod
: An exhaustive list of adjustments and improvements that's too long and complicated for the changelogfaq
:- Turned the shortcut prefix into a pattern
- Consolidated FAQ update commands
- Reimplement the list of FAQs
- Various improvements (#72)
- Added options in root config to limit or disable certain features
- Reorganized and added new search commands
- Improved how tags are used in queries
- Allowed showing options instead of just setting them
invite
: Multiple invites now go in one message instead of multiplejira
: Overhauled the issue requesting logic and the embed colors now reflect the status of the bug (#64)roles
: Refine role searching logic
Fixed
- Fixed instances of timezone-unaware
utcnow()
jira
: Now checks that issues are in the<project>-<id>
format and that requested issues have fields (#69)
v0.17.0
Added
- Implemented a new cog
stacktracer
for error logging (#55) automod
: Added a newmentions_removed_from_message
triggerautomod
: Addedallowed_mentions
field toreply_to_message
action
Changed
status
now uses an embed (#45)
Fixed
quote
: Now includes attachments and embeds on the original messagequote
: Now accounts for the read permissions of the person trying to quoteChannelsGuard
now accounts for threads, by determining the root channel
v0.16.0
Changed
- Updated to Python 3.10 (release candidate).
- Updated to the discord.py 2.0 beta.
- Updated all extensions past breaking changes.
commanderbot-core
has been merged intocommanderbot-ext
.- The repository has been renamed to
commanderbot-py
. - The package has been renamed to
commanderbot
(which used to belong tocommanderbot-core
).
- The repository has been renamed to
- Exception handling logic has been reworked.
- Fixes #53
- Reconsidered all commands to use a
ctx.reply
wrapper with pings disabled.- Fixes #42
allowed_mentions
field in root bot config is now supported.- Fixes #52
automod
: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
- Roles can now be configured to be able to run elevated commands.
- Fixes #18
- Unresolved roles are now deregistered and cleaned-up automatically.
v0.15.0
v0.14.0
Changed
automod
improvements (#41):- Implemented role-based (per-guild) permissions
- Added a new
log_message
action that suppresses pings by default - Pings are now suppressed by default in error messages
- Added normalization to the
message_content_contains
condition - Added more fields to some events for string formatting