chore: improved readability

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-09-06 22:06:14 +02:00
parent 4f3c76910c
commit c16ff4bdba
Signed by: moonleay
GPG key ID: 82667543CCD715FB

View file

@ -107,10 +107,10 @@ class SendPlannerExtension : Extension() {
// Save the message ids // Save the message ids
transaction { transaction {
TimePlanningMessages.insert { TimePlanningMessages.insert {
it[serverid] = c.data.guildId.value.toString() it[TimePlanningMessages.serverid] = c.data.guildId.value.toString()
it[channelid] = c.id.value.toString() it[TimePlanningMessages.channelid] = c.id.value.toString()
it[weekstamp] = (TimeUtil.getWeekStamp().toEpochSecond() * 1000).toString() it[TimePlanningMessages.weekstamp] = (TimeUtil.getWeekStamp().toEpochSecond() * 1000).toString()
it[messageids] = msgStr it[TimePlanningMessages.messageids] = msgStr
} get TimePlanningMessages.id } get TimePlanningMessages.id
} }
Logger.out("Finished with ${c.data.guildId.value}") Logger.out("Finished with ${c.data.guildId.value}")