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

Implement message components for user and message commands #42

Open
3 tasks
mozoarella opened this issue Mar 13, 2024 · 0 comments
Open
3 tasks

Implement message components for user and message commands #42

mozoarella opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mozoarella
Copy link
Member

Apparently Discord only allows an app to supply 5 message commands and 5 user commands.

Some experimentation shows us that we can respond to an interaction with an ephemeral message with message components aimed at providing more options.

Part of this issue is figuring out a consistent structure for message/user commands and implementing message components on the commands.

These component interactions have to be handled as well and since the Discord API supplies no info about the original interaction or message we'll have to store some data for each interaction as well.

  • Redo text manipulation command (as an empty shell)
  • Find and implement a suitable temporary data store (Probably Redis)
  • Handle responsibly storing and retrieving data necessary for each interaction in said data store

The scope of this issue is just the text manipulation commands, translations will be done at a later stage.

@mozoarella mozoarella added the enhancement New feature or request label Mar 13, 2024
@mozoarella mozoarella self-assigned this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

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

1 participant