WIP: Make Aurora commands hybrid commands #17

Closed
cswimr wants to merge 11 commits from aurora-hybrid into main
Owner

Currently, Aurora requires the use of Slash Commands for basic functionality. I'd prefer to use Hybrid Commands instead, so you aren't required to enable the extensive list of Slash Commands in order to use the cog.

To-Do

Commands

  • /addrole
  • /ban
  • /case
  • /edit
  • /history
  • /kick
  • /mute
  • /note
  • /removerole
  • /resolve
  • /unban
  • /unmute
  • /warn

Utility functions

factory.py

  • message_factory
  • log_factory
  • case_factory
  • changes_factory
  • evidenceformat_factory

utils.py

  • check_permissions
  • check_moddable
  • log
  • send_evidenceformat

Other

  • Edit info.json
  • Edit documentation
Currently, Aurora **requires** the use of Slash Commands for basic functionality. I'd prefer to use Hybrid Commands instead, so you aren't required to enable the extensive list of Slash Commands in order to use the cog. ## To-Do ### Commands - [ ] `/addrole` - [ ] `/ban` - [ ] `/case` - [ ] `/edit` - [ ] `/history` - [ ] `/kick` - [x] `/mute` - [x] `/note` - [ ] `/removerole` - [ ] `/resolve` - [ ] `/unban` - [x] `/unmute` - [x] `/warn` ### Utility functions #### `factory.py` - [x] `message_factory` - [x] `log_factory` - [x] `case_factory` - [x] `changes_factory` - [x] `evidenceformat_factory` #### `utils.py` - [x] `check_permissions` - [x] `check_moddable` - [x] `log` - [x] `send_evidenceformat` ### Other - [ ] Edit `info.json` - [ ] Edit documentation
cswimr added this to the Aurora Release milestone 2024-02-17 19:18:55 -05:00
cswimr self-assigned this 2024-02-17 19:18:55 -05:00
feat(aurora): updated all of the utils functions (and connected factory functions) to work with hybrid commands (UNTESTED)
All checks were successful
Actions / Lint Code (Ruff) (pull_request) Successful in 10s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 14s
67d7e04956
feat(aurora): factory functions now support hybrid commands (in theory, UNTESTED)
All checks were successful
Actions / Lint Code (Ruff) (pull_request) Successful in 6s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 15s
cfa95118ae
Merge branch 'main' into aurora-hybrid
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 6s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
b4ffd213dd
Merge branch 'main' into aurora-hybrid
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 17s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
c99b6efafb
Merge branch 'main' into aurora-hybrid
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 21s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 25s
9290ac3d66
Merge branch 'main' into aurora-hybrid
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 22s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
354b505e6e
feat(aurora): converted note to a hybrid command
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 20s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
16a37691b5
feat(aurora): converted warn to a hybrid command
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 19s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 24s
918c058f5a
feat(aurora): converted mute to a hybrid command
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 23s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
e2d2b7bdc1
feat(aurora): converted unmute to a hybrid command
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 20s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 24s
416d67bf65
Author
Owner

Delayed because I don't feel like working on this right now, see [https://discord.com/channels/133049272517001216/160386989819035648/1215410230003769365]

Delayed because I don't feel like working on this right now, see [https://discord.com/channels/133049272517001216/160386989819035648/1215410230003769365]
cswimr closed this pull request 2024-05-04 09:43:54 -04:00
Some checks are pending
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 20s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 24s
Actions / Lint (pull_request)
Required
Actions / Ensure Cogs Load (pull_request)
Required
Actions / Build Documentation (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No description provided.