From 33f0bc7707a66d96112b1887a8416586bc40184f Mon Sep 17 00:00:00 2001 From: DxsSucuk Date: Fri, 31 Dec 2021 16:27:41 +0100 Subject: [PATCH] Release 1.5.2 = Code reformation. = Updated Documentation. = Fixed Logback Configuration file. --- pom.xml | 4 +- .../de/presti/ree6/addons/AddonLoader.java | 2 +- .../ree6/addons/impl/ChatProtector.java | 24 +-- src/main/java/de/presti/ree6/api/JSONApi.java | 2 +- src/main/java/de/presti/ree6/bot/Webhook.java | 4 +- .../java/de/presti/ree6/commands/Command.java | 6 +- .../presti/ree6/commands/CommandManager.java | 6 +- .../ree6/commands/impl/community/Rainbow.java | 8 +- .../impl/community/TwitchNotifier.java | 26 +-- .../ree6/commands/impl/fun/HornyJail.java | 6 +- .../de/presti/ree6/commands/impl/fun/Hug.java | 4 +- .../presti/ree6/commands/impl/fun/Kiss.java | 4 +- .../presti/ree6/commands/impl/fun/Slap.java | 4 +- .../ree6/commands/impl/fun/Twitter.java | 6 +- .../presti/ree6/commands/impl/fun/Waifu.java | 2 +- .../commands/impl/hidden/ReloadAddons.java | 4 +- .../ree6/commands/impl/hidden/Test.java | 2 +- .../presti/ree6/commands/impl/info/Help.java | 8 +- .../presti/ree6/commands/impl/info/Info.java | 4 +- .../ree6/commands/impl/level/Level.java | 18 +- .../de/presti/ree6/commands/impl/mod/Ban.java | 4 +- .../ree6/commands/impl/mod/ChatProtector.java | 12 +- .../presti/ree6/commands/impl/mod/Clear.java | 6 +- .../presti/ree6/commands/impl/mod/Kick.java | 4 +- .../presti/ree6/commands/impl/mod/Mute.java | 10 +- .../presti/ree6/commands/impl/mod/Prefix.java | 4 +- .../presti/ree6/commands/impl/mod/Setup.java | 58 +++---- .../presti/ree6/commands/impl/mod/Unban.java | 2 +- .../presti/ree6/commands/impl/mod/Unmute.java | 10 +- .../ree6/commands/impl/music/Clearqueue.java | 2 +- .../ree6/commands/impl/music/Disconnect.java | 4 +- .../presti/ree6/commands/impl/music/Loop.java | 6 +- .../ree6/commands/impl/music/Lyrics.java | 2 +- .../ree6/commands/impl/music/Pause.java | 2 +- .../presti/ree6/commands/impl/music/Play.java | 12 +- .../ree6/commands/impl/music/Resume.java | 2 +- .../ree6/commands/impl/music/Shuffle.java | 6 +- .../presti/ree6/commands/impl/music/Skip.java | 2 +- .../ree6/commands/impl/music/Songinfo.java | 6 +- .../ree6/commands/impl/music/Songlist.java | 4 +- .../presti/ree6/commands/impl/music/Stop.java | 4 +- .../ree6/commands/impl/music/Volume.java | 4 +- .../de/presti/ree6/events/LoggingEvents.java | 162 +++++++++--------- .../de/presti/ree6/events/OtherEvents.java | 30 ++-- .../invitelogger/InviteContainerManager.java | 8 +- .../de/presti/ree6/logger/LoggerQueue.java | 4 +- src/main/java/de/presti/ree6/main/Main.java | 139 +++++++++++---- .../de/presti/ree6/music/MusicWorker.java | 14 +- .../de/presti/ree6/music/TrackScheduler.java | 20 +-- .../java/de/presti/ree6/sql/SQLConnector.java | 14 +- .../java/de/presti/ree6/sql/SQLWorker.java | 4 +- .../de/presti/ree6/stats/StatsManager.java | 10 +- .../java/de/presti/ree6/utils/ArrayUtil.java | 37 ++++ .../de/presti/ree6/utils/AutoRoleHandler.java | 16 +- .../java/de/presti/ree6/utils/FileUtil.java | 4 +- .../java/de/presti/ree6/utils/LoggerImpl.java | 2 +- .../java/de/presti/ree6/utils/Notifier.java | 155 +++++++++++++++++ .../presti/ree6/utils/SpotifyAPIHandler.java | 6 +- .../presti/ree6/utils/TwitchAPIHandler.java | 77 --------- .../presti/ree6/utils/YouTubeAPIHandler.java | 8 +- src/main/resources/logback.xml | 14 +- 61 files changed, 613 insertions(+), 421 deletions(-) create mode 100644 src/main/java/de/presti/ree6/utils/Notifier.java delete mode 100644 src/main/java/de/presti/ree6/utils/TwitchAPIHandler.java diff --git a/pom.xml b/pom.xml index 004823ae1..f5b1cd9f3 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.presti Ree6 - 1.5.1 + 1.5.2 @@ -211,7 +211,7 @@ ch.qos.logback logback-classic - 1.3.0-alpha12 + 1.2.8 - logfile.log + logs\latest.log true - %-4relative [%thread] %-5level %logger{35} - %msg %n + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg %n @@ -20,10 +20,10 @@ - - - - + + + + \ No newline at end of file