Class InvalidGuildEvent

java.lang.Object
xyz.dynxsty.dih4jda.events.DIH4JDAEvent<net.dv8tion.jda.api.interactions.commands.CommandInteraction>
xyz.dynxsty.dih4jda.events.InvalidGuildEvent

public class InvalidGuildEvent extends DIH4JDAEvent<net.dv8tion.jda.api.interactions.commands.CommandInteraction>
An event that gets fired when the command is NOT executed in one of the required guild.
See Also:
  • Constructor Details

    • InvalidGuildEvent

      public InvalidGuildEvent(DIH4JDA dih4jda, net.dv8tion.jda.api.interactions.commands.CommandInteraction interaction, Set<Long> guildIds)
  • Method Details