Forum - View topicSlack/Mattermost Integration
|
Author | Message | ||
---|---|---|---|
jrock20041
Posts: 8 Location: PA |
|
||
Guys, I am in the process of developing an integration for both Slack and Mattermost chat tools which would all someone to type /anime One Piece and get some information back. Would love to get some feedback from you guys and possibly some enhancement you might seem fit. You can check the code out at https://github.com/jrock2004/anime-slack-bot for Slack and https://github.com/jrock2004/anime-mattermost-bot for Mattermost.
Slack: Mattermost: Any questons please let me know Last edited by jrock20041 on Tue Aug 16, 2016 3:15 pm; edited 1 time in total |
|||
Dan42
Chief Encyclopedist
Posts: 3782 Location: Montreal |
|
||
That's a cute bot
I only took a quick look at the source code, but in home.js you shouldn't use req.body.text.replace(/ /g, '%20'); spaces are not the only thing that needs to be encoded in a URI. Instead, use encodeURIComponent(req.body.text) But as per the Terms of Service, there should be a link to the anime page on ANN. |
|||
jrock20041
Posts: 8 Location: PA |
|
||
Dan, thanks for the feedback. I will make those changes. I probably should read more the T&S to see if I missed anything else
|
|||
jrock20041
Posts: 8 Location: PA |
|
||
Screenshots are not updated and hope that I am now inline with the terms and service
|
|||
All times are GMT - 5 Hours |
||
|
Powered by phpBB © 2001, 2005 phpBB Group