Discord bot to automatically import imgur albums
I wanted to learn how to build a discord bot and learn how to use react emojis to capture user inputs. I decided to go with implementing a discord bot that automatically parsed through an imgur album and displayed its images with a way to use discord emojis to scroll through them.
Here's how the final result looks.
Clicking on the emoji arrows scrolls through the images in the album.
- Clone this repo
- Run
npm install
- Register for the imgur API, and add the auth info to
auth.json
- Register for the discord API, create a bot and add the auth info to
auth.json
- Invite the bot to your discord server
- Run the bot with
node bot.js
- Access album by typing the command
!album https://api.imgur.com/3/album/vtJCJ