Jupter1/MMM-Slack2

Only seeing messaged from one use and not other bot in channel

cruzanhtpc opened this issue · 1 comments

Thank you for this Module! I have a channel were a plex bot adds recent movies added, i followed your directions and i got the magic mirror bot in the channel. I was seeing anything update. I added all the permissions you said in the directions. I then just sent a test message in the channel from my user account and that appeared on screen in the magic mirror module. so to me the channel should be correct and my token is correct. But why isnt it showing the messages from the plex-bot?

Config
{
module: "MMM-Slack2",
position: "bottom_left",
config: {
slackToken: "xoxb-removed",
slackChannel: "Cremoved",
maxUsers: 4,
showUserName: false,
showTime: true,
showSeconds: false,
displayTime: 360,
urgentRefresh: true,
updateInterval: 5000,
apiInterval: 1,
maxMessages: 20,
animationSpeed: 1000,
debug: false
}
},

Bot token Scopes ( i added a few to test to see any changes but no change)

channels:history
groups:history
mpim:history
mpim:read
users:read

I see a debug option. let me know what info you need or if im just doing something wrong. Thank you in advance!

I do not know the plex-bot, but I think that there might be an issue, if a post contains smileys or pictures. Make sure, that your post (and the plex-bot posts) only contains alphanumerical characters. I am not sure how links are handled.

The debug option can be used to display some more information in the terminal when the MM is running (i. e. when your mirror is started via ssh you can see it easily.

You can try the Slack API here: https://api.slack.com/methods/conversations.history/test
Just enter your credentials and you will get a JSON with the result. Have a look at it, if you can find the bot's messages.