Skip to content

Commit

Permalink
🔥 (Equip, I'm gonna kill you ...) Added automod type
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsTheSky committed Feb 6, 2025
1 parent d3b57c1 commit 96d7323
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/net/itsthesky/disky/elements/Types.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.itsthesky.disky.elements;

import net.dv8tion.jda.api.entities.automod.AutoModExecution;
import net.itsthesky.disky.DiSky;
import net.itsthesky.disky.api.DiSkyType;
import net.itsthesky.disky.api.emojis.Emote;
Expand Down Expand Up @@ -174,6 +175,10 @@ public static class DiSkyConverters {
return ChannelType.valueOf(input.toUpperCase());
}, true
).eventExpression().register();
new DiSkyType<>(AutoModExecution.class, "automod",
AutoModExecution::toString,
null
).eventExpression().register();

/*
Components
Expand Down

0 comments on commit 96d7323

Please sign in to comment.