fix prefix sub command and add clearing guild prefixes

fix some issues with hover events in prefixes
This commit is contained in:
Taah
2022-05-07 22:54:22 -07:00
parent f709e76dd5
commit 8bcf28f120
9 changed files with 129 additions and 40 deletions

View File

@ -19,6 +19,7 @@ public class SQLManager
{
connection.prepareStatement(
"CREATE TABLE IF NOT EXISTS `guilds` (" +
"`guildUuid` VARCHAR(46) NOT NULL, " +
"`name` VARCHAR(2000) NOT NULL, " +
"`owner` VARCHAR(46) NOT NULL, " +
"`createdAt` BIGINT NOT NULL, " +
@ -29,7 +30,8 @@ public class SQLManager
"`moderators` LONGTEXT, " +
"`ranks` LONGTEXT, " +
"`defaultRank` LONGTEXT, " +
"`tagEnabled` BOOLEAN" +
"`tagEnabled` BOOLEAN, " +
"PRIMARY KEY (`guildUuid`)" +
");"
).execute();
} catch (SQLException e)