-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Automatically pin first message in projects forum #1167
Automatically pin first message in projects forum #1167
Conversation
application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadCreatedListener.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadCreatedListener.java
Outdated
Show resolved
Hide resolved
2. Created new listener "ProjectsThreadCreatedListener.java" under new package name called "projects"
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.
Rest seems alright to me, good Job 👍
...on/src/main/java/org/togetherjava/tjbot/features/projects/ProjectsThreadCreatedListener.java
Outdated
Show resolved
Hide resolved
...on/src/main/java/org/togetherjava/tjbot/features/projects/ProjectsThreadCreatedListener.java
Outdated
Show resolved
Hide resolved
Andrew1031 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
...on/src/main/java/org/togetherjava/tjbot/features/projects/ProjectsThreadCreatedListener.java
Outdated
Show resolved
Hide resolved
…he message ID from that MessageRecievedEvent and get thread channel ID from thread channel
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.
Perfect. Glad to have you onboard. Hope to see more contributions 🙂
btw are you connected with us on discord? I tried to give you a shout-out for your first contribution. Also i assume Andrew1031 is one of your alias?
Yeah I'm .noob123 on discord Yes Andrew1031 was my old github username |
@andrew-09 Do you still have access to your old GitHub account? We need you to sign the CLA from that account as well. |
#1166
When a new thread is created in the "projects" forum it automatically pins the first message (the OP's message)