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 added the
enhancement
label 2024-02-17 19:18:55 -05:00
cswimr self-assigned this 2024-02-17 19:18:55 -05:00
cswimr added this to the Aurora - To-Do project 2024-02-17 19:18:56 -05:00
cswimr added 1 commit 2024-02-17 21:31:56 -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
cswimr added 1 commit 2024-02-17 21:47:35 -05:00
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
cswimr added 1 commit 2024-02-28 11:29:15 -05:00
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
cswimr added 1 commit 2024-02-28 11:30:48 -05:00
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
cswimr added 1 commit 2024-03-04 17:48:24 -05:00
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
cswimr added 1 commit 2024-03-07 15:00:11 -05:00
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
cswimr added 1 commit 2024-03-07 15:03:58 -05:00
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
cswimr added 1 commit 2024-03-07 15:11:29 -05:00
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
cswimr added 2 commits 2024-03-07 16:13:52 -05:00
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
cswimr added 1 commit 2024-03-07 16:21:37 -05:00
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 added the
help wanted
label 2024-03-07 16:28:51 -05:00
cswimr pinned this 2024-03-07 16:28:57 -05:00
cswimr closed this pull request 2024-05-04 09:43:54 -04:00
cswimr unpinned this 2024-05-04 10:07:31 -04:00
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 20s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 24s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cswimr/SeaCogs#17
No description provided.