Commands:
Simply type /
into Telegram when you are chatting with the bot or read main()
of app.py
Notes: Environmental variables are stored as heroku config vars
Development:
- You need Python3 and the Heroku CLI installed.
- Run
source start-dev-env.sh
to start virtual environment, log in to heroku and store local env variables. Include a Phishy surprise with-p
or--phish
.
The environmental variables stored are:
- BOT_TOKEN=
bot_token
(token for@gone_phishing_bot
from BotFather) - BOT_USERNAME=
username
(username for@gone_phishing_bot
from BotFather) - URL=
url
(url of heroku app) - PHISHNET_API_KEY=
api_key
(API Key for Phish.Net, retrieved here) - PHISHIN_API_KEY=
api_key
(API Key for Phish.in can be requested at the contacts page and info about the api can be found in the api docs)
Ideas:
- Phish Trivia Game!
- Next Phish Show (location/date)
- Phish Radio (message bot the song you want to hear and adds a random jam of that song to the queue)
- In-time pings of messages received?
- Random Jam by Year and Song