-
-
Notifications
You must be signed in to change notification settings - Fork 751
Refactor "Cogs" cog #484
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
Merged
Merged
Refactor "Cogs" cog #484
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
815f2b7
Rename the "cogs" extension & cog to "extensions"
MarkKoz 4f75160
Add enum for extension actions
MarkKoz 6cdda6a
Simplify extension discovery using pkgutil
MarkKoz f7109cc
Replace with_role decorator with a cog_check
MarkKoz 19ad439
Add a generic method to manage loading/unloading extensions
MarkKoz a01a969
Add a custom converter for extensions
MarkKoz 4342f97
Fix the values in the extensions set
MarkKoz 0c0fd62
Use manage method for extensions commands
MarkKoz c05d0db
Show original exception, if available, when an extension fails to load
MarkKoz 22c9aaa
Fix concatenation of error messages for extension reloads
MarkKoz 37040ba
Support giving multiple extensions to reload
MarkKoz 1fda5f7
Use reload_extension() instead of calling unload and reload
MarkKoz 0f63028
Fix extensions alias
MarkKoz 82fb11c
Invoke the help command when reload is called without args
MarkKoz cbccb1e
Refactor the extensions list command
MarkKoz 2ece22e
Use quotes instead of back ticks around asterisk in docstrings
MarkKoz 7721635
Support wildcards and multiple extensions for load and unload commands
MarkKoz da7b23c
Escape asterisks in extensions docstrings
MarkKoz 319cf13
Show help when ext load/unload are invoked without arguments
MarkKoz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.