Skip to content

Commit

Permalink
Added another tag word.
Browse files Browse the repository at this point in the history
  • Loading branch information
DxsSucuk committed Jan 7, 2024
1 parent 89e658e commit e5df78b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/de/presti/ree6/commands/impl/nsfw/Rule34.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public void sendMessage(CommandEvent commandEvent) {
if (args.length > 0)
tags = "&tags=" + URLEncoder.encode(builder.toString(), StandardCharsets.UTF_8).toLowerCase();

if (tags.contains("loli") || tags.contains("l0li") || tags.contains("lol1") || tags.contains("l0l1") || tags.contains("child") || tags.contentEquals("children") || tags.contains("kid") || tags.contains("underaged")) {
if (tags.contains("loli") || tags.contains("l0li") || tags.contains("lol1") || tags.contains("l0l1") ||
tags.contains("child") || tags.contentEquals("children") || tags.contains("kid") ||
tags.contains("underaged") || tags.contains("underage")) {
message.editMessage(commandEvent.getResource("message.nsfw.notAllowed")).queue();
return;
}
Expand Down

0 comments on commit e5df78b

Please sign in to comment.