GithubHelp home page GithubHelp logo

jonaskroedel / orangedb Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 0.0 98.95 MB

Discord.js Bot with mySQL integration

Home Page: https://discord.com/api/oauth2/authorize?client_id=845681260567068712&permissions=8&scope=bot

License: GNU General Public License v3.0

JavaScript 99.45% Procfile 0.02% Python 0.53%
bot discord discord-bot discord-js discord-js-bot javascript mysql discord-js-bots

orangedb's Introduction



Orange Discord Bot

A multi-Guild usable Discord bot built with discord.js

AboutFeaturesInstallationSetting UpLicenseCreditsCommands

The orange [ˈɔrɪndʒ] is a round, sweet fruit with a thick orange skin and an orange core, which is divided into many parts.

Or·ange [the]: A fruit

About

Orange is an open source, customizable Discord bot that is constantly growing. The Bot comes packaged with a variety of commands. The Bot's codebase also serves as a base framework so everyone can easily create a Discord Bot of all kinds and needs. You can invite Orange to your Discord server using this link! Also, you can join my Server Funf for questions, suggestions, assistance and much more.

If you like this repository, feel free to leave a star ⭐ to help promote Orange!
You can find a detailed information sheet with all commands here.

Features

34 commands across 4 different categories!

  • main commands like meme, help
  • moderation commands like clear, clearchannel, prefix, userinfo and much more
  • music commands like play, lyrics, 24/7, autoplay, skip and much more
  • playlist commands like create, load and much more!

Installation

You can add Orange to your server with this link! Alternatively, you can clone this repository and host the bot yourself.

git clone https://github.com/jonaskroedel/orangedb

After cloning, run these commands

npm install
npm install discord.js
npm install dotenv --save
npm install --save mysql2
npm install [email protected]
npm install lyrics-finder
npm install canvas
npm install menudocs/erela.js#build

to get all the dependencies and packages. You need Node.js and MySQL installed. I highly recommend to install nodemon as it makes testing much easier.

Setting Up

You have to create a .env file in your root directory to run the bot (you can use the example file provided as a base). Your file should look something like this:

BOT_TOKEN=YOURTOKEN
DB_HOST=YOUR_HOST_ADRESS //eg. localhost
DB_USER=YOUR_DB_USER //eg. root
DB_PASS=YOUR_DB_PASSWORD //eg. root
DB_NAME=orangedb  //if you dont know, then do not change that!
HOST=YOU_LAVALINK_HOST
PASSWORD=YOUR_LAVALINK_PASSWORD
PORT=YOUR_LAVALINK_PORT
PREFIX=o! //default prefix for orange

Visit the Discord developer portal to create an app and use the client token you are given for the token option. ownerId is your own Discord snowflake.

After that, you have enable Privileged Intents on your Discord developer portal. You can find these intents under the "Bot" section, and there are two ticks you have to switch on. For more information on Gateway Intents, check out this link.

To-Do

OrangeDB is a continous state of development. New features/updates can come at any time. Some pending ideas are:

  • Music
  • Ticket-System
  • Automod
  • Autoroles
  • Stream alerts

License

Released under the GNU GPL v3 license.

Credits

  • Jonas Krödel - initial work, artwork, idea, implementation and project management - github
  • Julian Hoffmann - minor helping - github
  • Angelo Failoni - helping hand and database-design - github
  • Mateo Pal - artwork, idea - reddit
© Jonas Krödel 2022

orangedb's People

Contributors

jonaskroedel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

orangedb's Issues

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.