Class BooterJDA
- java.lang.Object
-
- me.syncwrld.booter.discord.extend.BooterJDA
-
public class BooterJDA extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BooterJDA(net.dv8tion.jda.api.JDA jda, net.dv8tion.jda.api.JDABuilder jdaBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changePresenceStatus(net.dv8tion.jda.api.OnlineStatus status)
void
changePresenceText(java.lang.String text)
net.dv8tion.jda.api.entities.Activity.ActivityType
getActivityType()
java.lang.String
getPresentText()
void
log(java.lang.String message)
void
registerListener(java.lang.Object eventListener)
void
registerListeners(java.lang.Object... eventListeners)
void
setGame(java.lang.String game)
void
setListening(java.lang.String music)
void
setPlaying(java.lang.String game)
void
setStatus(java.lang.String status)
void
setWatching(java.lang.String game)
void
shutdown()
-
-
-
Method Detail
-
setStatus
public void setStatus(java.lang.String status)
-
setGame
public void setGame(java.lang.String game)
-
setPlaying
public void setPlaying(java.lang.String game)
-
setWatching
public void setWatching(java.lang.String game)
-
setListening
public void setListening(java.lang.String music)
-
changePresenceText
public void changePresenceText(java.lang.String text)
-
changePresenceStatus
public void changePresenceStatus(net.dv8tion.jda.api.OnlineStatus status)
-
getActivityType
public net.dv8tion.jda.api.entities.Activity.ActivityType getActivityType()
-
getPresentText
public java.lang.String getPresentText()
-
registerListener
public void registerListener(java.lang.Object eventListener)
-
registerListeners
public void registerListeners(java.lang.Object... eventListeners)
-
shutdown
public void shutdown()
-
log
public void log(java.lang.String message)
-
-