A discord bot that can be used to send random cat/cow pics. Or actually pics from any subreddit.
moo
: sends a cow pic
chonk
: sends a cat pic
bhature
: sends a bhature pic
momos
: sends a dog pic
!r <subreddit>
: sends a pic from the given subreddit
!p <subreddit>
: sends a post from the given subreddit
- Generate a New Application for discord using
https://discord.com/developers/applications
and clickingNew Application
- Generate the Bot the get the
token
- Create a new file called
.env
and put the token in there as
token=XXXXXXTOKENXXXXXXXXX
- Add the bot to your discord server using
https://discordapp.com/oauth2/authorize?&client_id=CLIENT_ID&scope=bot&permissions=34816
. Make sure to replace theCLIENT_ID
with your application's Client ID. - Run the bot using
node bot.js
and cow away.