diff --git a/backend/src/main/kotlin/net/perfectdreams/galleryofdreams/backend/interactions/vanilla/GalleryOfDreamsCommand.kt b/backend/src/main/kotlin/net/perfectdreams/galleryofdreams/backend/interactions/vanilla/GalleryOfDreamsCommand.kt index 25ab4b4..6f04321 100644 --- a/backend/src/main/kotlin/net/perfectdreams/galleryofdreams/backend/interactions/vanilla/GalleryOfDreamsCommand.kt +++ b/backend/src/main/kotlin/net/perfectdreams/galleryofdreams/backend/interactions/vanilla/GalleryOfDreamsCommand.kt @@ -342,7 +342,7 @@ class GalleryOfDreamsCommand(val loritta: GalleryOfDreamsBackend) : SlashCommand val slugIsAvailable = FanArtArtists.selectAll().where { FanArtArtists.slug eq fanArtArtistSlug - }.count() != 0L + }.count() == 0L val fanArtArtist = FanArtArtists.insert { it[FanArtArtists.name] = artistName