Summary
Implement a type or variable for “valid commands” to be used in slack
This could be used to check any command against a valid commands list. Could use custom type, this would be to implement the error interface on that type that would be triggered when a command is not in the valid commands list.
Basic Example
Currently has the command "clear convo", what if we wanted "random convo" or "email convo" anything really. These commands we would need to be checked against a valid list.
Drawbacks
-na
Unresolved questions
- is there any particular way we want to call these commands beyond just a basic text in the slack thread like "@slackgpt clear convo".
Summary
Implement a type or variable for “valid commands” to be used in slack
This could be used to check any command against a valid commands list. Could use custom type, this would be to implement the error interface on that type that would be triggered when a command is not in the valid commands list.
Basic Example
Currently has the command "clear convo", what if we wanted "random convo" or "email convo" anything really. These commands we would need to be checked against a valid list.
Drawbacks
-na
Unresolved questions