/DiscordImageBot

Discord Image Bot

Primary LanguageJavaScriptMIT LicenseMIT

Discord Bot for Image from Reddit.com

Features

  • Send image from scrolller.com

Prerequisites

Optimize for VSCode

Setup (before anything else)

$ yarn install
# You also need to set some vars in .env file, you could also use export
$ echo "DISCORD_TOKEN={YOUR_MAGIC_TOKEN}" > .env
$ echo "DISCORD_CHAN_ID={YOUR_MAGIC_TOKEN}" >> .env #Default post channel id
$ echo "DISCORD_BOTS_TOKEN={YOUR_MAGIC_TOKEN}" >> .env #Discordbots.org token

Build

$ yarn build #or run Build Task in VSCode

ESLint

$ yarn lint

Launch in Dev (w/ nodemon)

$ yarn start #build automatically before starting