April 2, 20224 yr Overview: Support for Docker image discordsoundboard. Application: Discord Soundboard Docker Hub: https://hub.docker.com/r/davefurrer/discordsoundboard GitHub: https://github.com/Darkside138/DiscordSoundboard Documentation: https://github.com/Darkside138/DiscordSoundboard/wiki If you appreciate my work, then please consider buying me a beer. https://www.paypal.me/DFurrer
April 11, 20224 yr I just installed this container and am testing it out. Where does it get installed to? I do not see a folder in the appdata and can't find an install path in de container template.
April 12, 20224 yr Author The application files install to /etc/bin/DiscordSoundboard. There is then a bin folder in there where the application properties files are. I'm thinking that I need to map a directory there so that one could modify the config file if needed, but I'm a bit new to the whole unraid template configuration thing.
April 13, 20224 yr Author I've pushed a new update that will allow you to configure a container path to be able to set that to a share on your unraid. From there you can view/modify the config. I've pushed a template update that also reflects this but so far it looks like you may have to remove and re-install the application to get the template update.
April 13, 20224 yr Thanks for the update. I will play around with the container a little bit more and see if my friends on Discord will enjoy it.
March 23, 20233 yr Seems to be disconnecting now every few seconds - Looking at the github issue it's affecting others: https://github.com/Darkside138/DiscordSoundboard/issues/173
March 24, 20233 yr Author Yeah, discord made changes that is breaking the bot for some. I just pushed a new release that should resolve the issue.
March 27, 20233 yr On 3/24/2023 at 1:05 AM, Darkside138 said: Yeah, discord made changes that is breaking the bot for some. I just pushed a new release that should resolve the issue. Mh it does not solve it for me. Even when specifying the tag. I get these errors 11:02:57.005 main SpringApplicati ERROR Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'botCommandController' defined in URL [jar:file:/etc/DiscordSoundboard/bin/DiscordSoundboard.jar!/BOOT-INF/classes!/net/dirtydeeds/discordsoundboard/controllers/BotCommandController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'soundPlayer' defined in URL [jar:file:/etc/DiscordSoundboard/bin/DiscordSoundboard.jar!/BOOT-INF/classes!/net/dirtydeeds/discordsoundboard/SoundPlayer.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.dirtydeeds.discordsoundboard.SoundPlayer]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Was shutdown trying to await status. Reason: You tried turning on an intent you aren't allowed to use. For more information check https://jda.wiki/using-jda/troubleshooting/#im-getting-closecode4014-disallowed-intents at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415) at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) at net.dirtydeeds.discordsoundboard.MainController.main(MainController.java:25) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'soundPlayer' defined in URL [jar:file:/etc/DiscordSoundboard/bin/DiscordSoundboard.jar!/BOOT-INF/classes!/net/dirtydeeds/discordsoundboard/SoundPlayer.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.dirtydeeds.discordsoundboard.SoundPlayer]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Was shutdown trying to await status. Reason: You tried turning on an intent you aren't allowed to use. For more information check https://jda.wiki/using-jda/troubleshooting/#im-getting-closecode4014-disallowed-intents at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:296) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 27 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.dirtydeeds.discordsoundboard.SoundPlayer]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Was shutdown trying to await status. Reason: You tried turning on an intent you aren't allowed to use. For more information check https://jda.wiki/using-jda/troubleshooting/#im-getting-closecode4014-disallowed-intents at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:224) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:311) ... 41 common frames omitted Caused by: java.lang.IllegalStateException: Was shutdown trying to await status. Reason: You tried turning on an intent you aren't allowed to use. For more information check https://jda.wiki/using-jda/troubleshooting/#im-getting-closecode4014-disallowed-intents at net.dv8tion.jda.internal.JDAImpl.awaitStatus(JDAImpl.java:514) at net.dv8tion.jda.api.JDA.awaitStatus(JDA.java:326) at net.dv8tion.jda.api.JDA.awaitReady(JDA.java:376) at net.dirtydeeds.discordsoundboard.JDABot.<init>(JDABot.java:45) at net.dirtydeeds.discordsoundboard.SoundPlayer.init(SoundPlayer.java:73) at net.dirtydeeds.discordsoundboard.SoundPlayer.<init>(SoundPlayer.java:69) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211) ... 43 common frames omitted
March 27, 20233 yr Author https://jda.wiki/using-jda/troubleshooting/#im-getting-closecode4014-disallowed-intents
March 13, 20242 yr On 3/27/2023 at 2:40 PM, Darkside138 said: https://jda.wiki/using-jda/troubleshooting/#im-getting-closecode4014-disallowed-intents Realized I never replied back. The problem is actually with the variable `bottoken`. This is a typo. For it to work properly it should be named `bot_token`.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.