Skip to content

[REQUEST] - Slackgpt ValidCommands #42

Description

@williycole

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".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions