Orange Discord Bot
discord.js
A multi-Guild usable Discord bot built withAbout • Features • Installation • Setting Up • License • Credits • Commands
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
You can find a detailed information sheet with all commands here.
Features
21
commands across 3
different categories!
fun
commands likereddit
,reddit [custom subreddit]
moderation
commands likeclear
,clearchannel
,prefix
anduserinfo
music
commands likeplay
,lyrics
,24/7
,autoplay
,skip
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
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