DiscordBot
DiscordBot copied to clipboard
A Java Discord bot using JDA
I've encountered a java.lang.NullPointerException Accompanied stacktrace: java.util.Calendar.setTime(Calendar.java:1770) java.text.SimpleDateFormat.format(SimpleDateFormat.java:943) java.text.SimpleDateFormat.format(SimpleDateFormat.java:936) java.text.DateFormat.format(DateFormat.java:345) emily.db.controllers.CModerationCase.buildCase(CModerationCase.java:148) emily.db.controllers.CModerationCase.buildCase(CModerationCase.java:139) emily.command.administrative.modactions.AbstractModActionCommand.execute(AbstractModActionCommand.java:83) emily.handler.CommandHandler.process(CommandHandler.java:152) emily.main.DiscordBot.handleMessage(DiscordBot.java:384) emily.event.JDAEvents.onGuildMessageReceived(JDAEvents.java:234) net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:387) emily.event.JDAEventManager.lambda$handle$0(JDAEventManager.java:70) I've encountered a java.lang.NullPointerException Accompanied stacktrace: java.util.Calendar.setTime(Calendar.java:1770) java.text.SimpleDateFormat.format(SimpleDateFormat.java:943) java.text.SimpleDateFormat.format(SimpleDateFormat.java:936) java.text.DateFormat.format(DateFormat.java:345) emily.db.controllers.CModerationCase.buildCase(CModerationCase.java:148) emily.db.controllers.CModerationCase.buildCase(CModerationCase.java:139)...
I'm using your bot as a playground and wanted to know how you add in new commands?
Everything else is unacceptable
The autoranking system is now based on the date when a user first joined the guild. Base this on user activity instead of join date. examples; - every x min...
!bank and !profile are implemented, yet they don't really do anything. Provide ways of gaining experience and currency to reward activity
when i run it, it only says ` Error: Unable to access jarfile Emily-all-1.9.14.jar` and does nothing else.
Build Type mvn fatJar in the DiscordBot folder. In the build/libs/ folder there should be a file called Emily-all-{VERSION}.jar (where version is the latest version number). Move this file over...
I've encountered a java.lang.Exception Message: No record for file Extra information: filename: = F:\aGhUiucRJ2M.opus plz fix = I want music Accompanied stacktrace: emily.handler.MusicPlayerHandler.addToQueue(MusicPlayerHandler.java:525) emily.command.music.PlayCommand.lambda$null$2(PlayCommand.java:274) emily.threads.YoutubeThread$YTWorkerWorker.lambda$run$0(YoutubeThread.java:275) emily.handler.discord.RestTask.lambda$run$0(RestTask.java:49) java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) java.util.concurrent.FutureTask.run(Unknown Source)...