zekroBot - An universal, multifunctional JDA Discord music bot.
In this update, we've completely reworked the general settings system and the server specific settings system, which is now handled by a MySql-Database. That makes it way easier to handle the settings data and the saves are now more save than before.
Attention: All server settings and general settings (SETTINGS.txt
) will be lost.
If you start the jar file, a SETTINGS.json
file will be created. Enter there your discord bot token, your discord user ID to let the bot identify you as the host of the bot, the default prefix and the MySql credentials. Defaultly, if you install MySql on your server, you can use localhost
as host and 3306
as port. Then use root
as user name and enter your root password in the config file. Then, create a database and enter the name of it into the file to.
After start, the bot will automatically create the structure for all saves.
Currently, this system is in testing pahse. If there appear bugs, please report them as issue in this repository!
music
saves will now be saved guild specific
That also means, that all saves will be need to relocalized from /saves_playlists/
to /SERVER_SETTINGS/[GUILD ID]/saves_playlists/
!
added -vote secret <args>
to create secret votes
Secret votes can only be accessed (closed and stats showed) in the channel where they were created from.
IMPORTANT: Please close all running polls on every guild because there could occure errors while loding old polls without that function! Also please inform every other guild the bot is running on about that before updating!
added function wich adds channel category zekrobot
with following channels after joining new guild
music
commands
cmdlog
voicelog
warframealerts
reworked stats
command and added alias guild
for it
reworked settings
command, which displays all guilds settings and increased permission level from 1
to 2
updated reactions behaivior in vote
, depending on PR #32 by @DRSchlaubi
beautifyed a lot of messages in the music
command with embed builders
gif
will now cut index of search values sizegif
error message when no search results were foundAnnotation:
Some users reported some bugs that the bot did not left the voice channel after entering -m stop
or after finishing the track queue.
The user KBU#3846 reported the following error trace:
But on my testing I could not reconstruate the bugs, so I have no chance to fix this bug in this version. I have chaged some things in the music class in hope that this will probably fix this error. If you clould clone the repository and try to fixt this bug by yourself if it's occures on your guild, so I would really appreciate if you could make a pull request with your fix.
Thanks!
gif
command message
Actually wanted to set the git in an embed message where the author is defined as embed author, but there is currently a nasty bug with gifs and embed messages :/
autochannel
function, that temp channels did not got moved in channel categoriesgif
command, that whitespace seperated search queries did not got parsedcommand parser now ignores upper or lowe case Depending on pull request #31 by DRSchlaubi.
reworked say
command
Now it's with a cool embed. And with autor name and avi. And it's cool.
updated JDA library So now, you can use latest features of Discord with out triggering nasty errors with this bot, like the category function.
music
commandvote
commandmusic
command come with fancy embed messages-m stop
, should be fixed nowreworked mute
command
Now, it's way better working than before.
added gif
command
Now you can search for gifs on giphy.com and the bot will paste it into the chat!
I've used brunocvcunha's jiphy API for that.
updated cmdlog
command
Now it creates a new text channel #cmdlog
where all executed commands on the guild will be displayed. Can be disabled by deleting the text channel.
settings
commandNote: You are probably asking where is version 1.39? I've updated 1.39 to 1.40 with the new gif command directly one day after building 1.39, so I've never published 1.39 on GitHub but tested it on my VPS, so I've skipped 1.39 in releases on GitHub.
Really fast after testing the new release, we've noticed a bug if you use the -mvall
command into an auto channel. The result if that was, that every member was moved in the mother channel and created his own temp channel.
So now, I've bypassed that in this version with a quick hotfix. I'ts not resolved in a good way currently, but better than before. If you used 1.38.1.0, please update to this version!
-autochannel <channel ID>
wich will create a copy of themself after joining and moving you into the copy channel. This channel is only temporary, so it will be deleted after everyone leaves the channel. So you can create channel groups with only one channel.
donation
command
If you want to support me hosting the server of the bot (20 / year), you can get more information about donating with this command
broadcast
commandhelp
commandstups
/ nudge
commandbotmsg
commandmusic
command