antoinegag / random-image-bot

Send random images from imgur to Discord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

random-image-bot

Send random images to Discord

Installation

Clone the project

git clone <url> && cd random-image-bot

Install packages

Install the packages with your prefered package manager yarn or npm i

Create a .env file

Create a .env file at the root of the project and fill in the values

# Your IMGUR client id, see https://apidocs.imgur.com/?version=latest#authorization-and-oauth
IMGUR_CLIENT_ID=

# The toke of your _bot_
DISCORD_TOKEN=

# The trigger ex: !image
COMMAND=

# Custom name used instead of "images"
IMAGES_NAME=

Start the app

yarn start or npm start

About

Send random images from imgur to Discord


Languages

Language:JavaScript 96.3%Language:HTML 2.2%Language:CSS 1.1%Language:Dockerfile 0.3%