Skip to content

Commit

Permalink
Mention the artist when adding the fan art to the gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Oct 15, 2024
1 parent 8f27520 commit 3cb8405
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,17 +324,13 @@ class GalleryOfDreamsCommand(val loritta: GalleryOfDreamsBackend) : SlashCommand
if (matchedFanArtArtist != null) {
loritta.webhookClient?.send(
WebhookMessageBuilder()
// No mentions are allowed!
.setAllowedMentions(AllowedMentions.none())
.setContent("<:gabriela_brush:727259143903248486> **Fan Art adicionado!** <a:lori_lick:957368372025262120> $newFanArtUrl")
.setContent("<:gabriela_brush:727259143903248486> **Fan Art adicionada!** (<@${artistId}>) <a:lori_lick:957368372025262120> $newFanArtUrl")
.build()
)
} else {
loritta.webhookClient?.send(
WebhookMessageBuilder()
// No mentions are allowed!
.setAllowedMentions(AllowedMentions.none())
.setContent("<:gabriela_brush:727259143903248486> **Artista e Fan Art adicionados!** <a:lori_lick:957368372025262120> $newFanArtUrl")
.setContent("<:gabriela_brush:727259143903248486> **Artista e Fan Art adicionadas!** (<@${artistId}>) <a:lori_lick:957368372025262120> $newFanArtUrl")
.build()
)
}
Expand Down

0 comments on commit 3cb8405

Please sign in to comment.