Class JDA4SpringMain

java.lang.Object
xyz.norbjert.jda4spring.internal.JDA4SpringMain

@Component public class JDA4SpringMain extends Object
handles the initialisation process of the individual DiscordBots and configures them with their tasks, activities and API tokens (and soon gateway intents) ToDo: maybe get rid of JDAInstanceManager and JDAInstanceTaskMapper
  • Constructor Details

    • JDA4SpringMain

      public JDA4SpringMain(org.springframework.context.ApplicationContext appContext, @Value("${jda4spring.configFileLocation:src/main/resources/application.properties}") String configFileLocation)