Skip to content

Running the Bot Yourself!

Mako edited this page Nov 12, 2017 · 9 revisions

Komugari

A simple, multifunctional Discord bot with a focus on anime and NSFW!

who am I kidding no one asks me any questions smh

Index

Requirements

Installing

Open a command window where you want the bot to be installed. -This is done through pressing shift + right click in the desired folder

# Clone the bot from the git repo
git clone https://github.com/DysphoriAlluka/Komugari.git
# Enter the bot folder
cd Komugari
# Install npm dependencies
npm i

Setup

  1. Go to the Discord Developers Applications Page - making sure that you're logged into the correct account
  2. Create an app and enter the desired credentials
  3. Make the app into a bot user
  4. Click Reveal Token to get your unique bot token. This is equivalent to an username and a password - don't let anyone see your token
  5. Create a .env file with your TOKEN, and optionally your GOOGLECSE, GOOGLEAPI, YOUTUBEKEY, and OSUKEY keys. Refer to the .env file example for more details.
  6. Invite your bot to your server
    1. Locate the invite link

      https://discordapp.com/api/oauth2/authorize?client_id=YOUR_ID_HERE&scope=bot&permissions=0

    2. Place your client ID in the right location. Your client ID contains only numbers
    3. Open the link and invite your bot!

That's it! You should be good to go!

Running

Open a command window where you want the bot to be installed.

This is done through pressing shift + right click in the desired folder

# Enter into the Komugari folder
cd path/to/Komugari
# Start the bot up by initiating the code
node .
Clone this wiki locally