Commit 6825c6bb authored by Jose V. Trigueros's avatar Jose V. Trigueros

🐛 Missed a few transactions, converted them to asyncTransaction

parent 58c2f521
Pipeline #100018674 passed with stages
in 14 minutes and 38 seconds
......@@ -102,7 +102,7 @@ class EventListener : ListenerAdapter(), KoinComponent {
}
// Update activity
transaction {
asyncTransaction {
event.guild.run {
Guild
.findOrCreate(idLong, name, region.name)
......@@ -132,7 +132,7 @@ class EventListener : ListenerAdapter(), KoinComponent {
logger.debug { "${event.guild.name}#${event.channelJoined.name} - ${user.name} joined voice channel" }
// Update activity
transaction {
asyncTransaction {
event.guild.run {
Guild
.findOrCreate(idLong, name, region.name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment