Feat: Implement Cogs, Moderation, Leveling, and Search Features #10
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.
**Feat: Implement Cogs, Moderation, Leveling, and Search Features
Description:
This Pull Request introduces a significant refactor and feature expansion for the public Discord bot.
Key Changes:
Refactoring into Cogs:
general
,events
,developer
,moderation
,leveling
,search
.bot.py
file now primarily handles cog loading, basic setup, and event listeners managed by thesetup_hook
.New Features:
cogs/moderation.py
): Added a comprehensive set of moderation commands and tools (details not fully visible in diff, but the file is substantial).cogs/leveling.py
,leveling.db
): Implemented a user leveling system, including the necessary database file.cogs/developer.py
): Added developer-specific commands, likely including configuration management (testingurl.json
) and role/server checks.cogs/search.py
,functions/
):/addon
and/schematic
search commands into their own cog.addonsearch.py
,schematicsearch.py
) into a dedicatedfunctions/
directory.Enhanced Event Handling (
cogs/events.py
):on_message
.!!
) to new slash commands (/
).Configuration:
config/replyingconfig.json
andconfig/testingurl.json
.Code Cleanup & Improvements:
.gitignore
to exclude common Python artifacts (.venv
,__pycache__
).bot.py
./help
,/ping
,/wiki
,/github
,/socials
,/issue8ball
,/members
,/link
, etc.) into thegeneral
cog.Motivation:
This PR significantly enhances the bot's capabilities and organization.