cameroncros / OctoPrint-DiscordRemote

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

Bot always offline on Discord #182

Closed pacodtc closed 2 years ago

pacodtc commented 3 years ago

Describe the bug After following the proper instructions and providing DiscordRemote (v2.67.0) plug-in with the requested Bot Token, Channel ID, and Base URL the bot remains offline and it is unable to receive or send commands from the discord channel.

Performed the following troubleshooting steps unsuccessfully:

The DiscordRemote command icon in Octopi always remained orange and the bot remained offline on discord server, unable to receive or send commands from the text channel.

Logs Log of last attempt at reinstalling the plug-in below:

To Reproduce Installed plug-in using Octopi plug-in manager. Followed plug in configuration instructions provided on DiscordRemote github README.md

Expected behavior Green DiscordRemote command, Online bot status on discord server, able to receive and send commands from text channel.

Screenshots

image

image

When using DiscordRemote plug-in the bot remains offline constantly

image

image

cameroncros commented 3 years ago

I think you have covered it, but can you just confirm that the Channel ID is an 18 digit number, something like: 467700763775205396? You almost certainly have the bot token and permissions correct if the script you ran worked.

pacodtc commented 3 years ago

Checked one more time, yes the ID is 18 digits long and corresponds to the same text channel I have used to run the script and show the screenshots above.

cameroncros commented 3 years ago

Okay, interesting, I am having the same issue with my development bot i think, so I will keep working at it.

cameroncros commented 3 years ago

Found the problem, websocket-client was bumped to v0.58, which broken this plugin. The new release of discordremote should now be live, and has a fix.

pacodtc commented 3 years ago

Awesome! Thank you, the problem is solved.

image image

Although I did get and error about dependency conflicts with other plug-in while updating discordremote with plug-in manager.

image

cameroncros commented 3 years ago

Hmm, that conflict with OctoEverywhere is kinda out of my hands, unfortunately websocket-client 0.58 is just completely broken for DiscordRemote. In the future, I aim to replace my home-grown discord code with discord.py, which may make things a lot better.

On Tue, Mar 16, 2021 at 10:30 AM pacodtc @.***> wrote:

Awesome! Thank you, the problem is solved.

[image: image] https://user-images.githubusercontent.com/15118252/111234257-85372500-85c4-11eb-8911-9fac9d90d9a0.png [image: image] https://user-images.githubusercontent.com/15118252/111234333-b1eb3c80-85c4-11eb-8bc9-04931fa325aa.png

Although I did get and error about dependency conflicts with other plug-in while updating discordremote with plug-in manager.

[image: image] https://user-images.githubusercontent.com/15118252/111234138-46a16a80-85c4-11eb-8891-1cdb880ba1f2.png

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