Releases: FrostedCA/EasyCommands
EasyCommands v0.8.14
EasyCommands v0.8.13
Fixed errors with AutoRoleEvents.java (Missing role IDs would sometimes create errors especially with MySQL)
Added a new event: OnSelfGuildJoin.java (This will create new guild properties when the bot joins a new guild and is already started)
Guild properties commands are now getting added automatically
Full Changelog: v0.8.12...v0.8.13
EasyCommands v0.8.12
Updated MySQL driver version.
Implemented new method to verify table validity since old one wasn't working as expected.
MySQL implementation should now stable.
Full Changelog: v0.8.11...v0.8.12
EasyCommands v0.8.11
Attempting to fix a MySQL problem that is not happening on EasyCommands bot but that is happening on others...
For some reason the GuildProperties table gets created successfully on EasyCommands bot but not on other instances bots using the library.
Full Changelog: v0.8.1...v0.8.11
EasyCommands v0.8.1
MySQL now fully supported!
Full Changelog: v0.8.0...v0.8.1
EasyCommands v0.8.0
EasyCommands v0.8.0
Full Changelog: v0.7.23...v0.8.0
Hey! Been a while since I've updated EasyCommands, and I'm back to working on it!
In this updated I added multiple new features and implemented more JavaDoc to help you all understand the code better.
I've also added more error handlings to easily debug what some problems might be.
The update will be available around 8h30-9h PM tonight. (US/CA Eastern Time). This is to let me time fix the latest issues and cleaning up the code a bit more.
New Features
New config 2.0 -> This config file is now located in your bot root folder. ./Saved/Config/config.properties
This new config gets updated automatically with each update of the bot. From now on, when I'll remove or add a new config option it will get updated to your config automatically to keep you up to date! Be careful, do not write anything else than a valid config setting or else it will get removed.
Guild Properties -> Those files are located inside your root folder. ./Saved
This means that finally, your bot can work on multiple different servers. The auto role system has been remastered. It will now grab the role from the correct guild properties and apply it automatically to new members/bots. To configure these roles you can use the commands: /setmemberrole or /setbotrole .
If you don't set any roles, the event will get ignored.
You can now also setup a specific log channel for each one of your different servers with the command /setlogchannel. This command will set the log channel to the current channel for the current guild.
You can also setup a specific music channel for each different guilds now using the command /setmusicchannel.
Important note: The guild properties system only works on non-mysql bots. When using MySQL, the values for your different auto roles and channels for your guilds will get added to MySQL instead of locally inside the ./Saved folder.
MySQL is still under implementation, it's not entirely working just yet since I'm focusing on making the bot work locally and cleaning it's code base.
From now on, when creating a new executor, if you want to add specific authorized roles or channels, you must use the functions updateAuthorizedRoles(JDA jda) or updateAuthorizedChannels(JDA jda) instead of using the Getters. I found out yesterday that this wasn't efficient since the longer your bot was started, more bytes/garbage these arrays would collect depending on the implementation.
I will post new videos on YouTube explaining in depth the new features and changes. I will also make a video on how to correctly port your bot from version 0.7 to 0.8.
I'll also post a video about creating a Discord bot with the new version.
JDA has been updated to latest version.
EasyCommands v0.7.23
Full Changelog: v0.7.22...v0.7.23
EasyCommands v0.7.22
Small Hotfix Big update coming soon
Full Changelog: v0.7.21...v0.7.22