$ npm install
$ npm run dev
Check for formatting errors.
$ npm run format:check
Fix formatting errors.
$ npm run format
You can create a .env file in your root project folder and add theses configurations. Be sure to modify the values beforehand. Never commit .env file to github..
# Get your discord bot token from here https://discord.com/developers/applications
BOT_TOKEN =
# Get giphy developer api key from here https://developers.giphy.com/
GIPHY_API_KEY =
# get unsplash api key from here https://unsplash.com/developers
UNSPLASH_API_KEY =
# get openweather api key from here https://openweathermap.org/api
OPEN_WEATHER_KEY =
Commands | Actions |
---|---|
!weather place_name | Shows weather for the given place |
!show keyword | Shows image of the provided keyword, if found |
!clear n | Deletes n number of last message |
send keyword | Sends gif |