Skip to content

Commit

Permalink
⚡Remove 3 AutoModRule events
Browse files Browse the repository at this point in the history
  • Loading branch information
EquipableMC committed Jan 18, 2025
1 parent 99b3a12 commit f30badb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 123 deletions.
15 changes: 0 additions & 15 deletions src/main/java/info/itsthesky/disky/elements/Types.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
import net.dv8tion.jda.api.entities.channel.middleman.MessageChannel;
import net.dv8tion.jda.api.entities.messages.MessagePoll;
import net.dv8tion.jda.api.entities.sticker.Sticker;
import net.dv8tion.jda.api.events.automod.AutoModRuleCreateEvent;
import net.dv8tion.jda.api.events.automod.AutoModRuleDeleteEvent;
import net.dv8tion.jda.api.events.automod.AutoModRuleUpdateEvent;
import net.dv8tion.jda.api.interactions.commands.Command;
import net.dv8tion.jda.api.interactions.commands.OptionType;
import net.dv8tion.jda.api.interactions.commands.build.OptionData;
Expand Down Expand Up @@ -189,18 +186,6 @@ public static class DiSkyConverters {
autoModResponse -> "automod response " + autoModResponse.getType().name().toLowerCase() + " with custom message " + autoModResponse.getCustomMessage(),
null
).eventExpression().register();
new DiSkyType<>(AutoModRuleUpdateEvent.class, "updaterule",
autoModRuleUpdateEvent -> autoModRuleUpdateEvent.getRule().toString(),
null
).eventExpression().register();
new DiSkyType<>(AutoModRuleCreateEvent.class, "createrule",
autoModRuleCreateEvent -> autoModRuleCreateEvent.getRule().toString(),
null
).eventExpression().register();
new DiSkyType<>(AutoModRuleDeleteEvent.class, "deleterule",
autoModRuleDeleteEvent -> autoModRuleDeleteEvent.getRule().toString(),
null
).eventExpression().register();

/*
Components
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit f30badb

Please sign in to comment.