cameroncros / OctoPrint-DiscordRemote

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

Bot Permissions Issue #242

Closed luccassa closed 1 year ago

luccassa commented 1 year ago

I can only get the bot to greet, no commands can be issued from both discord or the octoprint client. I followed the issue #226 and made sure an asterix was present on commands and users. I also made sure the bot had all three settings enabled and it had full admin privilege. The bot connects, sends wake-up text, snapshot of my printer, then is unresponsive.

image image

Austnikl commented 1 year ago

Hey are you able to send a command through Octopi i seem to have a similar issue.

Are you able to send a status command from octopi?

luccassa commented 1 year ago

No commands are accepted either from the Octoprint UI, or discord.

Austnikl commented 1 year ago

i am having the same issue im able to get this msg and nothing else .

image

here are my logs plugin_discordremote.log plugin_pluginmanager_console.log octoprint.log

cameroncros commented 1 year ago

You probably need to enable the priveleged gateway intents on the discord.com/developers site:

image
Austnikl commented 1 year ago

I have enabled the privileged gateways. and still can't get any msg sent across.

image

luccassa commented 1 year ago

I have enabled the privileged gateways. and still can't get any msg sent across.

Same here

cameroncros commented 1 year ago

@Austnikl Do you have Octorant and DiscordRemote installed at the same time? AFAIK they shouldnt conflict, but I have never tested it.

cameroncros commented 1 year ago

Are you both using v4.1 of DiscordRemote?

Austnikl commented 1 year ago

i am however i was having this issue before installing Octorant. and i am running Discordremote 4.1

cameroncros commented 1 year ago

Try uninstalling v4.X and installing the latest v3.X version:

https://github.com/cameroncros/OctoPrint-DiscordRemote/archive/refs/tags/v3.11.0.zip

Some people have had issues with v4.x, so it may be worth trying the older version until I fix things.

Austnikl commented 1 year ago

i will give it a go and let you know.

Austnikl commented 1 year ago

that version you sent me works I can send commands in discord.

luccassa commented 1 year ago

Worked for me as well. I will say that I tried 4.2 and the commands were functioning from the UI side only. However, it was extremely slow compared to the functional 3.11 build. Thanks for the help and awesome plugin. Good luck!

On Mon, Apr 24, 2023 at 1:12 PM Austin @.***> wrote:

that version you sent me works I can send commands in discord.

— Reply to this email directly, view it on GitHub https://github.com/cameroncros/OctoPrint-DiscordRemote/issues/242#issuecomment-1520543525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUY3IEW3S3EYZ34QTEEN53XC2YBBANCNFSM6AAAAAAXIYM5S4 . You are receiving this because you authored the thread.Message ID: @.***>

cameroncros commented 1 year ago

Sounds like your both happy now, I will close this off. Create a new issue if you have any other problems.