cameroncros / OctoPrint-DiscordRemote

Discord plugin for OctoPrint
MIT License
66 stars 34 forks source link

bot stays offline yet its connected #174

Closed mmuziek closed 2 years ago

mmuziek commented 3 years ago

Describe the bug The bot is working from Pi > Discord but stays offline in discord so i cannot send discord > Pi Note it was working yesterday i have no clue i tried the disable and enable of the presense thing in the remote discord setting but nothing happens i do get the test messages in the discord chat channel

Logs https://pastebin.com/RB4SwgvH

To Reproduce Steps to reproduce the behavior:

  1. start pi by adding power and turn on printer.
  2. bot is offline and remains so

Expected behavior bot comes online and listens to the commands

Desktop (please complete the following information):

cameroncros commented 3 years ago

This is a common issue for people, but unfortunately, I cannot reproduce myself. I think the long term solution is to use discord.py instead of my half-baked discord implementation, but i need to wait until python2 support is no longer an issue.

On Sat, Jan 23, 2021 at 9:30 PM mmuziek notifications@github.com wrote:

Describe the bug The bot is working from Pi > Discord but stays offline in discord so i cannot send discord > Pi Note it was working yesterday i have no clue i tried the disable and enable of the presense thing in the remote discord setting but nothing happens i do get the test messages in the discord chat channel

Logs https://pastebin.com/RB4SwgvH

To Reproduce Steps to reproduce the behavior:

  1. start pi by adding power and turn on printer.
  2. bot is offline and remains so

Expected behavior bot comes online and listens to the commands

Desktop (please complete the following information):

  • OS: windows
  • Browser chrome

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL25D7ERQAV6ZFVUH7TS3KQOFANCNFSM4WPSPEQQ .

mmuziek commented 3 years ago

it might be a strange question but how about a button that restarts the bot? Without affecting the print if its running? This allows us to refresh the connection for the bot?

cameroncros commented 3 years ago

That might not be a bad idea, I will try find some time to do that.

On Sun, 24 Jan 2021, 8:54 pm mmuziek, notifications@github.com wrote:

it might be a strange question but how about a button that restarts the bot? Without affecting the print if its running? This allows us to refresh the connection for the bot?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/174#issuecomment-766320587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL2UP2MDHLZBI3TSORLS3PU3RANCNFSM4WPSPEQQ .