Skip to content

A simple vanilla javascript Discord bot that posts quotes from Kanye West when called on using the rest API from https://github.com/ajzbc/kanye.rest. Responds to chat whenever someone types "Kanye"

License

Notifications You must be signed in to change notification settings

Lane-G-Smith/Discord-Bot-Kanye-West-Quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Bot-Kaney-West-Quotes


Discord.js

A simple vanilla javascript Discord bot that posts quotes from Kanye West when called on using the rest API from https://github.com/ajzbc/kanye.rest. Responds to chat whenever someone types "Kanye"

Installation and deployment instructions

!!This bot does NOT respond to DMs, it must be in a server with you!!

Get the bot 'shell' from Discord. It's free, and it takes 5 minutes

https://discord.com/developers/applications

Install node.js

https://nodejs.org/en/

Install git

https://git-scm.com/downloads

Create a new folder and navigate to it in the terminal to set up git

git init

Navigate to the new git folder in the terminal and clone this repository

https://github.com/Lane-G-Smith/Discord-Bot-Kanye-West-Quotes.git

Navigate to the Discord-Bot-Kanye-West-Quotes folder and install dependencies

npm install

Rename example.env to .env

Place your secret Discord bot token from the first step into the .env file

TOKEN=your_unique_Discord_bot_token_here

To host the bot locally, open the project in the terminal and run node

node kanye.js

To host the bot locally and keep it running in the background indefinitely, install PM2

npm install pm2 -g

Run your bot locally using pm2 https://pm2.keymetrics.io/

pm2 start kanye.js

Congratulations, your bot should now be live & confirmation should be logged in the terminal. Use your personal link from the Discord developer portal to invite your bot to a Discord server

https://discord.com/developers/applications

About

A simple vanilla javascript Discord bot that posts quotes from Kanye West when called on using the rest API from https://github.com/ajzbc/kanye.rest. Responds to chat whenever someone types "Kanye"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published