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

[Refactor] Rework botOnline API middleware #112

Closed
barthofu opened this issue Jan 24, 2023 · 0 comments
Closed

[Refactor] Rework botOnline API middleware #112

barthofu opened this issue Jan 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request refactor
Milestone

Comments

@barthofu
Copy link
Owner

Feature

Actually, the botOnline middleware is doing an http request on its own API to check if the discord client is up.
We should refactor this to directly check using the uptime property on the Client class instance (injected using tsyringe).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant