Module watamebot

Class Context

java.lang.Object
net.foxgenesis.watame.Context
All Implemented Interfaces:
Closeable, AutoCloseable

public class Context extends Object implements Closeable
  • Constructor Details

  • Method Details

    • getDatabaseManager

      @NotNull public @NotNull DatabaseManager getDatabaseManager()
    • getEventRegister

      @NotNull public @NotNull EventStore getEventRegister()
    • getAsynchronousExecutor

      @NotNull public @NotNull ExecutorService getAsynchronousExecutor()
    • pushNotification

      public void pushNotification(String title, String message)
    • getJDA

      @Nullable public @Nullable net.dv8tion.jda.api.JDA getJDA()
    • getState

      @NotNull public @NotNull WatameBot.State getState()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable