Skip to content

Latest commit

 

History

History
89 lines (85 loc) · 5.67 KB

README.md

File metadata and controls

89 lines (85 loc) · 5.67 KB

A multipurpose Discord bot with many NSFW and fun commands as well as utility and moderation.

UPDATE COMMING SOON FOR DISCORD JS 13 AND NEW DISCORD INTENT RULES

  • For a full command list run the bot and type .help
  • The default prefix is . so the help command would be .help
  • Use the above link if you don't want to follow the steps bellow.

Requirements if not using the release page

  • node.js
  • Windows Build tools 2017
  • python 2.7 and above (make sure you add python to path or enviormental variables)
  • Linux or Windows
  • Basic knowledge of using cd in a command prompt
  • Knowing how to install node_modules using NPM
  • For non advanced users, the bot will not work if you don't download it from the release page. If you know how this stuff works you can just download this project directly and install the modules yourself. Installing everything yourself may be better in terms of keeping modules up to date.

Installation guide

*You can now download the bot from the release page so you can follow this setup guide easier. *New bat files have been made so you can install and update modules easier.

Getting your credentials:

Token

Your token is what you use to log the bot in.

  • On the bot tab click copy where it says token.
  • Once you have coppied the token you may now paste it into the config file.
  • MAKE SURE YOU PASTE IT BETWEEN THE SPEECH MARKS.

Your discord ID

  • To get the ID go to discords settings and go to the "Appearance".

  • Once you are on the Appearance tab, scroll down until you find "Developer Mode".

  • Turn on "Developer Mode"

  • Now that Developer Mode is on type a message on any server then right click on your name then click coppy id.

  • Paste the coppied ID into the "devID" section of your config.

  • If you followed the stepts correctly the config.json file should now look like this:

{
"token": "Your discord token",
"prefix": "Your prefix",
"devID": "Your discord id"
 }
  • You may now save the config and move to the installation process.

How to install:

  1. Install node.js at https://nodejs.org when installing you can check "automatically install the necessary tools." checkbox. This removes the need to install visualstudio build tools manualy.
  2. Double click the install.bat file and wait for everything to install.
  3. Once everything has installed run start.bat or run.bat .
  4. Wait for everything to load and the bot should now be up and running.
  5. Updating the node_modules can be done with the update .bat file
  6. If these bat files don't work I suggest downloading the bot from the release page instead. (this may contain outdated node_modules)

If you want the node_modules folder to be pre installed instead of running install.bat, go to the Release page and download the latest zip file

Adding the bot to your server:

  1. Go back to the Discord Developer Portal and click on your application.
  2. Go to the General Information tab and you should see your client ID.
  3. Click copy.
  4. Now that you have your client ID go to this website Discord Permissions Calculator
  5. Paste your client ID into where it says Client ID then select the permissions you want.
  6. Once you have finished doing that click the invite link that the website generated and it should take you to your bots invite page.
  7. Invite the bot to your server.
  8. Test the bot to see if it works by typing .ping and if the command works then you have completed all the steps correctly. If you want to constantly invite the bot to servers keep the link that the permission calculator generated saved somewhere

Well Done!

You now have a self hosted working bot on your server!

Self Hosting: (optional)

If you want more reliable hosting without having it run on your main pc or on your home network, I recommend buying a web server. The bot can be ran on Linux and Windows.

Linux Install:

  1. Download nodejs
  2. Download the bot from the release page.
  3. Use the terminal to navigate to the bot folder location where the index is located (dorito.js or index.js)
  4. Type npm install
  5. To start the bot make sure your terminal is still navigated to the bot folder then type " node . " or "node index.js " or " node dorito.js "
  6. I recommend learning how the terminal works as well as entering directories using cd in the terminal.

Troubleshooting

If the music commands do not work then it is because FFMPEG was not installed. You can find many videos on Youtube showing how to install FFMPEG. Here is one for Windows or you can try type this in the terminal for Linux and maybe Windows " npm i ffmpeg "

API Keys (optional)

  • The bot needs an Osu api key so get one and go into the "/commands/utility/" folder and find osu.js.
  • Once in the osu.js file you should see text telling you where to paste your api key.
  • Now that you finished setting the API key save the the file and run the bot. The osu command should now work.
  • If you don't care about the osu command or you don't want to get an api key go into the "/commands/utility/" folder and delete the osu.js command.

This Bot was made by nyeku/nyekuuu.