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 d10f8901c9
commit f552ea4faa

View file

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