diff --git a/src/main/kotlin/net/moonleay/liljudd/Main.kt b/src/main/kotlin/net/moonleay/liljudd/Main.kt index e60782b..a1196f8 100644 --- a/src/main/kotlin/net/moonleay/liljudd/Main.kt +++ b/src/main/kotlin/net/moonleay/liljudd/Main.kt @@ -31,7 +31,7 @@ suspend fun main() { "v.${BuildConstants.version}\n" ) - Logger.out("li'l Judd made by moonleay (https://moonleay.net). Web UI made by IchLiebeZuege (https://mal-noh.de).") + Logger.out("li'l Judd made by moonleay (https://moonleay.net). Web UI made by aronmal (https://mal-noh.de).") Logger.out("For more information check out https://liljudd.ink and https://git.moonleay.net/DiscordBots/lilJudd") Bot.start() diff --git a/src/main/kotlin/net/moonleay/liljudd/features/AvailabilityManager.kt b/src/main/kotlin/net/moonleay/liljudd/features/AvailabilityManager.kt index 2cc7ec8..e4d0441 100644 --- a/src/main/kotlin/net/moonleay/liljudd/features/AvailabilityManager.kt +++ b/src/main/kotlin/net/moonleay/liljudd/features/AvailabilityManager.kt @@ -44,7 +44,7 @@ object AvailabilityManager : IFeature { // This runs during the cronjob. suspend fun runThread() { - Logger.out("Starting to update roles...") + Logger.out("Updating match roles") // ChannelID, Data val messages = TimePlanningMessagesRepository.getWeek(TimeUtil.getWeekStamp().toEpochSecond()) @@ -162,7 +162,7 @@ object AvailabilityManager : IFeature { // Register the cronjob to run at 1AM UTC every day override suspend fun registerThread() { - Logger.out("Adding availability scheduler...") + Logger.out("Registering daily planning message role update coroutine") val scheduler = buildSchedule("0 0 2 * * *") // 0 0 4 * * * 0o 1w // 0o is UTC scheduler.doInfinity { this.runThread() @@ -176,7 +176,7 @@ object AvailabilityManager : IFeature { ch: Channel, args: FeatureManageExtension.FeatureManagerArgs ): EmbedBuilder { - var alreadyExists = PlanningNotifierRolesRepository.existsInChannel(cID) + val alreadyExists = PlanningNotifierRolesRepository.existsInChannel(cID) // Check if the channel and guild already exist in the db if (!alreadyExists) { // Create the roles in Discord diff --git a/src/main/kotlin/net/moonleay/liljudd/features/TimeManager.kt b/src/main/kotlin/net/moonleay/liljudd/features/TimeManager.kt index b5dbe9e..0496dff 100644 --- a/src/main/kotlin/net/moonleay/liljudd/features/TimeManager.kt +++ b/src/main/kotlin/net/moonleay/liljudd/features/TimeManager.kt @@ -52,7 +52,7 @@ object TimeManager : IFeature { // Register the cronjob to run at 0:01 AM UTC every Monday override suspend fun registerThread() { - Logger.out("Adding message scheduler...") + Logger.out("Registering weekly planning message posting coroutine") val scheduler = buildSchedule("0 0 1 * * * 0o 1w") // 0 0 4 * * * 0o 1w // 0o is UTC scheduler.doInfinity { this.runThread()