Skip to content

Commit

Permalink
Fix role check
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Oct 15, 2024
1 parent de7e497 commit 1522b34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ abstract class GalleryOfDreamsSlashCommandExecutor : LorittaSlashCommandExecutor
return
}

if (context.member.roles.any { it.idLong == 924649809103691786L }) {
if (!context.member.roles.any { it.idLong == 924649809103691786L }) {
context.reply(true) {
content = "Você não tem o poder de adicionar fan arts na galeria!"
}
Expand Down

0 comments on commit 1522b34

Please sign in to comment.