You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example Slack bot in PHP language that connect to Simsimi api sandbox.
1
+
# PHP Slack Bot with Simsimi api.
2
+
Example Slack bot in PHP language that connect to Simsimi api sandbox. This one support simsimi trial api. If you want to use full simsimi api, you must change endpoint config to endpoint of paid api. You can make bot with stupid talking style. LOL
3
+
4
+
# How to use
5
+
- Get slack token for bot can access slack api. Get your token here https://my.slack.com/services/new/bot.
6
+
- Get sandbox token from simsimi. Get your token here http://developer.simsimi.com.
7
+
- Open bot.php and add these token to config.
8
+
- Run `composer install` to install dependency packages.
9
+
- Run `php bot.php` to start bot.
10
+
- Invite your bot to channel and try to mention it. It will talk back to you. Have fun.
0 commit comments