We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b11c37 commit 2d92670Copy full SHA for 2d92670
src/main/java/net/javadiscord/javabot/listener/HugListener.java
@@ -24,11 +24,10 @@
24
@Slf4j
25
@RequiredArgsConstructor
26
public class HugListener extends ListenerAdapter {
27
+ private static final Pattern FUCKER = Pattern.compile("(fuck)(ing|er|k+)?", Pattern.CASE_INSENSITIVE);
28
private final AutoMod autoMod;
29
private final BotConfig botConfig;
30
- private static final Pattern FUCKER = Pattern.compile("(fuck)(ing|er|k+)?", Pattern.CASE_INSENSITIVE);
31
-
32
@Override
33
public void onMessageReceived(@Nonnull MessageReceivedEvent event) {
34
if (!event.isFromGuild()) {
0 commit comments