Skip to content
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

Poprawienie obecjen struktury kodu #60

Open
mpnogaj opened this issue Jan 12, 2025 · 0 comments
Open

Poprawienie obecjen struktury kodu #60

mpnogaj opened this issue Jan 12, 2025 · 0 comments

Comments

@mpnogaj
Copy link
Collaborator

mpnogaj commented Jan 12, 2025

Aktualna struktura kodu ma dwie duże wady

  • subskrybowanie się na eventy bota odbywa się w jednym pliku
  • dodanie nowej komendy wymaga dokonania zmian w 2 różnych miejscach. Należy dodać ją do tablicy, która rejestruje slash komendy, oraz do obsługi zdarzenia InteractionCreate

Nowa struktura powinna co najmniej rozwiązywać te 2 problemy

@mpnogaj mpnogaj changed the title Nowa struktura kodu Poprawienie obecjen struktury kodu Jan 12, 2025
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

No branches or pull requests

1 participant