Sponge-bot is a python based botthat replies with spongebob memes wheneer anyone posts a message in a channel. The bot is built in python and originally hosted on Heroku.
- Create a Groupme account
- Create a Heroku Account
- Install Heroku Cli on your local machine.
- Log into GroupMe Dev Center and create a bot and assign it to a chat. Name the bot Spongebob, (or rename it but update it in the main python file).
- Clone or Download this project and navigate to it in your command line tool.
- From the command line
heroku login
- After you have finished logging in. You need to create the app.
heroku apps:create NAME-OF-BOT
- This should output a URL for your bot to live at. Log back into Groupme dev center and paste this URL into your bots Callback URL
- Next, copy your bots ID and log into your heroku account.
- Push our app to heroku:
git push heroku master
- Inside Heroku, select your app, and go to settings. Scroll down and click Reveal Config Vars and create a variable called GROUPME_BOT_ID and paste in the ID of your bot from groupme and click ADD