Skip to content

Refactor: command event initilisation - #8

Open
Maximus7474 wants to merge 10 commits into
overextended:mainfrom
Maximus7474:refactor/command-event-init
Open

Refactor: command event initilisation#8
Maximus7474 wants to merge 10 commits into
overextended:mainfrom
Maximus7474:refactor/command-event-init

Conversation

@Maximus7474

Copy link
Copy Markdown
Member

This PR cleans up the commands and events directories by allowing us to sort files in sub-directories improving DX.

Alongside this change it also changes the way how the commands are registered with Discord, it is considered bad practice to register them on every bot start therefor in this PR a new script is added which only needs to be run once after a command is added/updated which reduces issues when developing the bot (increased load times).

Also does an overdue fix of typecheck and linting issues.

@Maximus7474
Maximus7474 requested a review from ESK0 August 20, 2026 22:34
@Maximus7474

Copy link
Copy Markdown
Member Author

Ideally merge #7 before this one, as it will most likely create a merge conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant