Dun-sin / Whisper

A fun Application to have a random chat with people safely
https://whisper.favour.dev/
MIT License
379 stars 342 forks source link

[REFACTOR] Use Decorators for socket.io event handlers on server #580

Closed mathiasayivor closed 9 months ago

mathiasayivor commented 9 months ago

Description

This issue seeks to use decorators for socket.io event handlers on the server side. This is because there are a lot of handlers, but currently they are all manually imported and registered which does not favour us considering the fact that there would be more handlers in the future.

Screenshots

No response

Additional information

No response

👀 Have you checked if this issue has been raised before?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None

github-actions[bot] commented 9 months ago

To reduce notifications, issues are locked until they are valid/approved and to be assigned. In the meantime read the contributing guidelines -> https://github.com/Dun-sin/Whisper/blob/main/CONTRIBUTING.md

github-actions[bot] commented 9 months ago

This issue is waiting to be approved so it's locked until approved
Thank you @mathiasayivor for creating an issue, while you wait for a response, consider reading the Contributing.md file If you have any questions, please reach out to us on Discord or follow up on the issue itself. Welcome to the community!!

Log | Bot Usage