Otaku
is an open source Discord Music Bot.
I wanted to make a Discord Music Bot just like groovy and Rythm which is open to world for contributions.
- Plays from search keyword
- Plays from link
- Supports many sites: https://ytdl-org.github.io/youtube-dl/supportedsites.html
- Has extra categories other than Music like FUN, UTILITIES, etc.
And is the first discord bot which I am maintaining.
Instead of hosting your own I recommend inviting the Otaku bot to your server
If you still want to host it then
Make a bot on discord developers portal and give the bot Admin Access
Copy the TOKEN of your bot(Pss. Its secret. Don't ever share it even with your close friends.)
Heroku
Installing on VPS(Ubuntu/Debian)
- Clone the repository to your Local Machine
$ git clone https://github.com/AmreshSinha/Otaku
$ cd Otaku
- Install all the requirements given in
requirements.txt
:$ pip install -r requirements.txt
- Install ffmpeg
$ sudo apt update
$ sudo apt install ffmpeg
- Make a
.env
file in the same directory. (Yes exactly .env)$ sudo nano .env
- And paste your Discord Bot Token in it like
TOKEN = "YOUR-DISCORD-BOT-TOKEN"
(Yes "" included)
- Ensure you have python 3.8 or above
- Uncomment the
# from dotenv import load_dotenv
line and# load_dotenv('.env')
line. - Now its time to run it
$ python3 main.py
- If you accidentally close the Terminal then the bot will go down and you will have to repeat Step-7
- To Avoid this you can use
Screen
. Google it for usage.
I Still advise you to use the already hosted bot instead. Here's the Invite Link.
These are the Currently Usable Commands
-
Music:
!join
Joins a voice channel!link
Plays from a URL (Supported: https://bit.ly/3yYrdbc)!play
Plays by Search!queue
Adds Song in Queue!stop
Stops and disconnects the bot from voice!stream
Streams from a url (same as yt, but doesn't predownload)!volume
Changes the player's volume
-
Random:
!choose
Helps Selecting Between Words Randomly!random
Generates a Random Number between Input Number 1 and Input Number 2
-
Bot Management:
!donate
Donation!ping
Checks Server Ping
.env
file for Discord Bot Token- No Other Configurations.
- Queue Feature
- More Utility Features
- Fun Features
- Pause Feature
- etc
Check our Contribution Guidelines given in CONTRIBUTING.md