After death of groovy and no good bot for replacing it(I
don't like Hydra), I decided to make a bot of my own
using JDA
and Java as used in Groovy also groovy used
Groovy programing language.
- Lavalink was used as audio receiver and player
- Hikari was used to help with database connection
Currently, these are the available commands with default prefix of !
- Music
- Join: Joins your current voice channel
- Leave: Leaves your voice channel
- Play <Song name|url>: Plays the specified song, resumes the player if paused
- Playnow <Song name|url>: Plays a song immediately and overrides the currently playing song
- Stop: Stops the song and clears the queue
- Pause: Pauses the player
- Queue: Shows the queued up songs
- Skip: Skips current song
- Previous: Returns to previous song
- Jump <Track Index>: Skips to specified index
- Loop [queue|track|off]: Loops the queue, track or turns off looping
- Shuffle: If on shuffles through the queue
- Nowplaying: Shows the currently playing song
- Playlist
- Playplaylist <Playlist Name>: Plays specified playlist
- Saveplaylist <Playlist Name>: Saves specified playlist
- Listplaylist <Playlist Name>: Shows saved playlists
- Deleteplaylist <Playlist Name>: Deletes specified playlist
- Settings
- AddPremium <User>: Add user to premium to be able to access premium commands
- Prefix <Custom Prefix>: Changes prefix to the specified prefix
- Miscellaneous
- Invite: An invite link to invite the bot by
- Ping: Current latency
- Indexing through the queue with buttons
- Change embed color based on role color
- Extracting checks into one global class
- Clone repo:
git clone https://github.com/Arya-Programmer/JavaMusicBot
- Add
.env
file in the root of the project - In
.env
file initialise three variables:BOT_TOKEN
,OWNER_ID
,PREFIX
- Cross fingers and Run it
Copyright (C) 2021 Arya K. O.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/