-
-
Notifications
You must be signed in to change notification settings - Fork 91
context command to pin messages in respective thread #1188 #1194
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 #1194
Conversation
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
…ages in thread. Added additional check to see if in the 'questions' channel along with config parameter in PinAnswerCommand
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/PinAnswerCommand.java
Outdated
Show resolved
Hide resolved
…ary failure case. Update a reply for more clarity for users
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work 👍
@andrew-09 It seems that we can't bring this into TJ bot due to limitations of discord when it comes to content commands. I wish we could have figured that out sooner, we appreciate the efforts you put into this . Currently closing this PR, perhaps we can use this in future. |
#1188
Will give a warning message when the message is not in a thread, the user invoker is not the owner of the thread, or the number of pinned answers exceeds 10