glitch / zeit / heroku.
Command | Response | Status |
---|---|---|
!hello | world! | β |
!yo | lo!π | β |
!status | server status(200/404) | β |
!cool <string> |
**All cool strings** | β |
!uncool <string> |
**original string** | β |
!weather <city_name> |
**weather information** | β |
!ytt | **Top trending on YouTube** | β |
!twt | **Top trending on Twitter** | β |
!toss | **Toss a coin** | β |
!random | **Get a random number** | β |
!ip <url> |
**ip address of the url** | β |
!gcard github_username |
**Embeded GitHub Card** | β |
!encrypt text key |
**Encrypted text** | β° |
!decrypt text key |
**Decrypted text** | β° |
!gcard mohitkyadav
!gcard google
You need to set these variables in your deployment environment. A sample.env
file has been provided for reference. You can set the values there and rename it to .env for local development.
env variable | value |
---|---|
TOKEN |
Discord client token |
OWKEY |
Open weather map API key |
YTKEY |
Youtube API key |
PORT |
Set automatically by your deployment platform |
TWAPIKEY |
Twitter consumer key |
TWAPISECRET |
Twitter consumer secret |
TWACCESS |
Twitter access token |
TWACCESSSECRET |
Twitter access token secret |