ZumitoTeam / zumito-framework

Framework for creating a bot for discord
https://framework.zumito.dev
7 stars 1 forks source link

[🐛] Bot status message not working #26

Closed WilliamAcosta1 closed 1 month ago

WilliamAcosta1 commented 1 year ago

Problem Description: When changing the status of a task in Zumito Framework, if there is only one message and it is changed to a blank message, it is causing an error in the system. This is causing inconvenience and delays in the workflow, as the system is not able to handle the blank message properly.

Proposed Solution: I request a revision of the state module in Zumito Framework to address the issue of blank messages causing errors. It would be ideal to implement a validation mechanism that checks for blank messages before allowing the status change to go through. Additionally, it would be helpful to add an error message or warning to inform the user that a blank message is not allowed.

Pros:

Cons:

I appreciate your attention to this matter and look forward to your feedback and suggestions to improve the proposal.