-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Added a way to set bot activity and custom status when creating bot #1259
Open
RealYusufIsmail
wants to merge
1
commit into
Javacord:master
Choose a base branch
from
RealYusufIsmail:status
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RealYusufIsmail
force-pushed
the
status
branch
from
August 18, 2023 20:11
8780e8d
to
d341637
Compare
RealYusufIsmail
force-pushed
the
status
branch
5 times, most recently
from
August 18, 2023 20:57
cb45622
to
48bcce7
Compare
RealYusufIsmail
force-pushed
the
status
branch
from
August 19, 2023 03:02
48bcce7
to
47db817
Compare
RealYusufIsmail
changed the title
Adding way to set bot activity when creating bot
Added a way to set bot activity when creating bot
Aug 19, 2023
RealYusufIsmail
force-pushed
the
status
branch
from
August 19, 2023 03:10
47db817
to
1999459
Compare
RealYusufIsmail
force-pushed
the
status
branch
2 times, most recently
from
October 29, 2023 19:40
2a43223
to
9fa5fb5
Compare
2 tasks
RealYusufIsmail
changed the title
Added a way to set bot activity when creating bot
Added a way to set bot activity and custom status when creating bot
Feb 19, 2024
NoahvdAa
reviewed
Feb 19, 2024
@@ -939,6 +966,7 @@ public void updateStatus() { | |||
return Optional.of(type); |
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.
Shouldn't this check above be removed? Else you can only set the custom status at startup
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.
Implemented the new changes but I need to test it
RealYusufIsmail
force-pushed
the
status
branch
2 times, most recently
from
February 20, 2024 10:04
279d236
to
f78073c
Compare
DiscordApi api = new DiscordApiBuilder().setToken(token) .setActivity(BotActivity.playing("with Javacord")).login().join(); or for example new DiscordApiBuilder().setToken(token) .setActivity(BotActivity.custom("with Javacord")).login().join(); or for example new DiscordApiBuilder().setToken(token) .setActivity(BotActivity.playing("JavaCord", "in IDE")).login().join();
RealYusufIsmail
force-pushed
the
status
branch
from
September 19, 2024 21:25
f78073c
to
4beb9fd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
Changelog
Breaking Changes
Description
Added ability to set activity as it starts.
Closes: NaN
Footnotes
At least started a running bot instance with your changes and triggered an event so your changed code gets executed. ↩