Giter VIP home page Giter VIP logo

dorito-bot-discord.js's Introduction

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

  • Go to For a full command list.
  • 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 toold 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
  2. Double click the install.bat file and wait for everything to install.
  3. Once everything has installed run start.bat .
  4. Once everything has installed run run.bat .
  5. Wait for everything to load and the bot should now be up and running.

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 " 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 Aaronidk/aaronokiay.

dorito-bot-discord.js's People

Contributors

dependabot[bot] avatar znixbtw avatar deltacoderr avatar njda9dhoodn avatar cyberlytical avatar marisklava avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.