fraschetti / Octoslack

OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
MIT License
74 stars 34 forks source link

Not posting #5

Closed Vikinge closed 7 years ago

Vikinge commented 7 years ago

When I reboot my octopi, I see octoslack post

octopi -Octoprint service started (check mark)

But nothing else appears, no start, no failure, nothing. I can run @octopi status and this returns thumbs up and a 1, but no more information.
Any suggestions for troubleshooting. I am using the API and have BOT defined for my slack.

mkotek commented 7 years ago

First of all, status command depends on Progress event, that is not enabled in default configuration. Check the settings for octoslack plugin in the configuration and set the event to Enabled.

In order to check if plugin is responding, without changing anything, you can ask your bot help question and you should get the answer. Also, if the command is not understood, it will respond with thumbs down, so at least you know, something is responding :)

Also, please make sure, if you have defined the channel for the bot to post to, make sure, you invite your bot to this channel.

fraschetti commented 7 years ago

Can you confirm the channel you've configured the plugin to use and/or the bot to use matches the channel where you're executing the @octopi commands?

Vikinge commented 7 years ago

Updating to your recent release 1.1.1, had newer API configuration, that solved my issues with IMGUR. Everything seems to be working fine now. Thank you for your help.

On Wed, Jun 7, 2017 at 3:45 AM, fraschetti notifications@github.com wrote:

Can you confirm the channel you've configured the plugin to use and/or the bot to use matches the channel where you're executing the @octopi https://github.com/octopi commands?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fraschetti/Octoslack/issues/5#issuecomment-306716070, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsTAKM7eGxjEyq6Hqv1XRQOAxVk3LOYks5sBlUkgaJpZM4NqfYy .

fraschetti commented 7 years ago

Glad to hear it; please let me know if you run into any other issues.

fraschetti commented 7 years ago

FYI - I also recently found (and fixed) a bug where "@bot status" wouldn't actually report back the status if the "Progress" event hadn't been checked. I've fixed this for a future build but enabling the "Progress" event on the plugin.