Class DiscordSRVChannelCreator

java.lang.Object
me.romvnly.TownyPlus.DiscordSRVChannelCreator

public class DiscordSRVChannelCreator extends Object
  • Constructor Details

    • DiscordSRVChannelCreator

      public DiscordSRVChannelCreator()
  • Method Details

    • createWebhookIfNotExist

      public void createWebhookIfNotExist(@Nonnull net.dv8tion.jda.api.entities.TextChannel channel, @Nonnull String webhookName)
    • createCategoryIfNotExist

      public void createCategoryIfNotExist(@Nonnull net.dv8tion.jda.api.entities.Guild guild, @Nonnull String categoryName)
    • createChannelIfNotExistInCategory

      public void createChannelIfNotExistInCategory(@Nonnull net.dv8tion.jda.api.entities.Category category, @Nonnull String channelName)
    • createRoleIfNotExist

      public void createRoleIfNotExist(@Nonnull net.dv8tion.jda.api.entities.Guild guild, @Nonnull String roleName)
    • handleDiscordMessageEvent

      public void handleDiscordMessageEvent(@Nonnull net.dv8tion.jda.api.events.message.MessageReceivedEvent event)