Advertisement
AqUpd

Untitled

Nov 12th, 2021
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1. if(plugin.getConfig().getBoolean("Blacklist-enabled")){
  2.     if(plugin.getConfig().getStringList("Blacklist").contains(e.getMessage().getContentDisplay())){
  3.         e.getChannel().sendMessage(plugin.getConfig().getString("Blacklist-message")).queue();
  4.     }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement