Class BotFunctionalityTesting

java.lang.Object
xyz.norbjert.jda4spring.testing.BotFunctionalityTesting

public class BotFunctionalityTesting extends Object
Only actual testing class, does not do the usual unit tests that it should be doing bc im too lazy for that Instead I use this to test specific functionality when I am making changes You can ignore this
  • Constructor Details

    • BotFunctionalityTesting

      public BotFunctionalityTesting(@Value("${jda4spring.loggingChannelID}") String loggingChannelID)
      t
      Parameters:
      loggingChannelID - t
  • Method Details

    • onSlashCommandInteraction

      @SlashCommand(command="test") public void onSlashCommandInteraction(net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent event)
      Parameters:
      event - t
    • onButtonInteraction

      public void onButtonInteraction(net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent event)
      Parameters:
      event - t
    • buttonHandlerTesting

      public void buttonHandlerTesting(net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent event)
      Parameters:
      event - t
    • onMsg

      @OnChatMessage public void onMsg(net.dv8tion.jda.api.events.message.MessageReceivedEvent event)
      Parameters:
      event - t
    • console

      @SlashCommand public void console(net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent event)