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

context command to pin messages in respective thread #1188

Open
ankitsmt211 opened this issue Oct 23, 2024 · 0 comments
Open

context command to pin messages in respective thread #1188

ankitsmt211 opened this issue Oct 23, 2024 · 0 comments
Labels
discussion enhancement New feature or request new command Add a new command or group of commands to the bot priority: normal

Comments

@ankitsmt211
Copy link
Member

Is your feature request related to a problem? Please describe.

A suggestion from community to let OP of thread in questions to be able to pin helpful answers

Describe the solution you'd like

We can build a context menu command something like we already have [Transfer Feature] (application/src/main/java/org/togetherjava/tjbot/features/moderation/TransferQuestionCommand.java) .
It will show up in message context menu, upon clicking that command based on whether user is OP it will either pin the message in thread or reply with an ephermal message that they're not allowed to use that command.

Additional context

  • Only OP should be able to use the command
  • Put a max limit on number of pins (maybe 10? idk something that's suitable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request new command Add a new command or group of commands to the bot priority: normal
Projects
None yet
Development

No branches or pull requests

1 participant