cameroncros / OctoPrint-DiscordRemote

Discord plugin for OctoPrint
MIT License
68 stars 32 forks source link

V5.0 - Bot not working #253

Open cameroncros opened 1 year ago

cameroncros commented 1 year ago

v5.0 has a completely new method of connecting to discord.

Your old bot from v2-4 will not be used anymore, and you will need to either:

Or

Troubleshooting:

CompuGenius-Programs commented 1 year ago

@cameroncros I added the official discordshim bot to my server and filled in the channel ID, yet no test message or commands are working.

thenixhex311 commented 1 year ago

@cameroncros I added the official discordshim bot to my server and filled in the channel ID, yet no test message or commands are working.

same here

cameroncros commented 1 year ago

Does the discordshim bot have permission to post (and read messages) to the channel you have chosen?

CompuGenius-Programs commented 1 year ago

Does the discordshim bot have permission to post (and read messages) to the channel you have chosen?

Yes, of course

cameroncros commented 1 year ago

I have restarted the discordbot, it was in an odd state, see if that helps. If not, can you contact me on discord to debug this further?

I am Cameron C on the octoprint discord.

CompuGenius-Programs commented 1 year ago

If not, can you contact me on discord to debug this further?

I am Cameron C on the octoprint discord.

Sent you a DM

thenixhex311 commented 1 year ago

I personally now had the "wake up ...what are we going to print today" appear, and now see "playing to 13 instances" under the bot on the userlist, but can't seem to get commands to work, going to see if it's something I messed up

MrFrickinFixit commented 1 year ago

Same problem as well. I get a response from the bot after reinstalling the plugin, but nothing following that. No command responses or webcam snapshots.

cameroncros commented 1 year ago

I think I have found the bug responsible for all your issues, and I will push a new version shortly: v5.1

CompuGenius-Programs commented 1 year ago

Can confirm that the bot seems to work now!

MrFrickinFixit commented 1 year ago

Can confirm v5.4 is working on all three of my Pi's.

MrFrickinFixit commented 1 year ago

Ok, maybe not. Wake up messages work. / commands work. Snapshots work. Start of print reports not working. Same for all three Pi's.

EvilGremlin commented 1 year ago

now bot is ofline and don't respond to commands in channel, but manual commands from octo UI work

cameroncros commented 1 year ago

There is some more bugs I need to fix, and my hosting provider has had some outages overnight.

On Mon, 10 July 2023, 4:01 am EvilGremlin, @.***> wrote:

now bot is ofline and don't respond to commands in channel, but manual commands from octo UI work

— Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/253#issuecomment-1627785241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7FL3CV5RR24EZNP7T6ALXPLWX7ANCNFSM6AAAAAAZYQOLS4 . You are receiving this because you were mentioned.Message ID: @.***>

cameroncros commented 1 year ago

Unless I hear otherwise, at this point everything seems stable and working? Please get in touch if you still have problems.

MrFrickinFixit commented 1 year ago

Looks to be functioning correctly. Command and printer progress messages reporting as expected. Thank you for your efforts.

dshokouhi commented 1 year ago

does the new bot respond to /help or anything? I cant get it to work after adding the bot and granting proper permission

cameroncros commented 1 year ago

It should be responding, it appears to be up and working for me at least. Have you added the new bot to your discord and given it permission to read from the channel you want to send and recieve messages on?

@dshokouhi - Actually, it seems that it had stopped working for me, I have restarted the bot

dshokouhi commented 1 year ago

Have you added the new bot to your discord and given it permission to read from the channel you want to send and recieve messages on?

yup just double checked and those permissions are granted in teh channel the bot is added to

Actually, it seems that it had stopped working for me, I have restarted the bot

still not responding to /help for me :(

cameroncros commented 1 year ago

@dshokouhi Can you DM me on discord, I can try assist you. I am Cameron C on the Octoprint discord.

cameroncros commented 1 year ago

Resolution seems to be removing and re-adding the bot to the discord server. Seems that permissions were incorrect somehow. (I recently got the bot verified, which may have impacted the permissions?