question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bot is offline for some certain servers only

See original GitHub issue

General Troubleshooting

  • I have checked for similar issues.
  • I have updated to the [latest JDA version][download].
  • I have checked the branches or the maintainers’ PRs for upcoming bug fixes.

Bug Report

Users are reporting that the bot is Offline (Shows offline status, doesn’t respond) in some certain servers. Bot shows Online Status and responds in that server after restart.

Expected Behavior

Bot should respond to commands in the server and show an Online Status.

Code Example or Reproduction Steps

N/A

Code for JDABuilder or DefaultShardManagerBuilder Used

int shard_count = 15;
JDABuilder shardbuilder = new JDABuilder();
shardbuilder.setToken("TOKEN");
for (int i = 0; i < shard_count; i++)
		{	
			shards[i] = shardbuilder.useSharding(i, shard_count).build();
			shards[i].addEventListener(new com.ctection.commands.handlers.ListenerDivider());
		}

Exception or Error

N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16

github_iconTop GitHub Comments

3reactions
tuxnullcommented, Sep 30, 2020

The logs cover 24 hours of operations. It also includes information which can be used to reverse engineer our proprietary code.

0reactions
MinnDevelopmentcommented, Sep 30, 2020

If you’re unwilling to cooperate then I’m gonna close this issue as I can’t do anything about it. If you don’t provide me the details I need to solve the issue that I can’t reproduce, then it’s your own issue you need to solve.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bot offline in one server but is working fine in another. - Reddit
Hello, I have a bot that in one server it says it is offline, yet in another server it is online and working...
Read more >
Discord bot offline, what to do? - LinuxPip
Discord bot offline, what to do? ; 1 Restart your VPS or server ; 2 Check if the bot is running ; 3...
Read more >
Why does my Discord bot say it's offline? - Quora
If your Discord bot is offline, that means you have not coded it and have not run it. Creating a bot in the...
Read more >
Why your discord bot is offline - YouTube
In this video I will explain why your discord bot (like aethex) is currently offline in your discord server.
Read more >
Why Is My Discord Bot Offline? - ITGeared
Discord Permissions. Sometimes, a bot can be offline because you've not granted it all the required permissions. So, ensure your bot has all ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found