-
Notifications
You must be signed in to change notification settings - Fork 44
Running the Bot Yourself!
Mako edited this page Nov 12, 2017
·
9 revisions
A simple, multifunctional Discord bot with a focus on anime and NSFW!
who am I kidding no one asks me any questions smh-
git
(Windows | Linux | macOS) -
node
(Windows | Linux | macOS) - Basic coding/Nodejs knowledge isn't required, but is a good thing to have.
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
- Go to the Discord Developers Applications Page - making sure that you're logged into the correct account
- Create an app and enter the desired credentials
- Make the app into a bot user
- 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 - 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.
- Invite your bot to your server
- Locate the invite link
https://discordapp.com/api/oauth2/authorize?client_id=YOUR_ID_HERE&scope=bot&permissions=0
- Place your client ID in the right location. Your client ID contains only numbers
- Open the link and invite your bot!
- Locate the invite link
That's it! You should be good to go!
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 .