fabianlupa / bottimus Goto Github PK
View Code? Open in Web Editor NEWDiscord music bot written in Java 8 using VLC and JDA
License: GNU General Public License v3.0
Discord music bot written in Java 8 using VLC and JDA
License: GNU General Public License v3.0
java.lang.UnsupportedOperationException: Sorry! Audio is disabled due to an internal JDA error! Contact Dev!
at net.dv8tion.jda.managers.AudioManager.openAudioConnection(AudioManager.java:76)
at com.flaiker.bottimus.services.AudioService.init(AudioService.java:83)
at com.flaiker.bottimus.listeners.CommandListener.onGuildMessageReceived(CommandListener.java:49)
at net.dv8tion.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:140)
at net.dv8tion.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:54)
at net.dv8tion.jda.handle.MessageReceivedHandler.handle(MessageReceivedHandler.java:45)
at net.dv8tion.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:153)
at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:233)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:211)
at com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:910)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:693)
at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)
Obviously this is saying audio is disabled. I would like to be able to run this on my VM which has no audio software, or hardware, other than VLC. I'm tired of python bots crashing every ten minutes (Seriously, did they steal code from Windows ME?) and I can't for the life of me get anything else to run. I seen this bot today and was really hoping that it would work, especially as it uses VLC (LOVE IT! Been a VLC user since around 03 I believe!) Anyways, any help would really be appreciated! :)
413 [main] WARN uk.co.caprica.vlcj.runtime.windows.WindowsRuntimeUtil - Failed to get VLC installation directory from the registry
com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:544)
at uk.co.caprica.vlcj.runtime.windows.WindowsRuntimeUtil.getVlcInstallDir(WindowsRuntimeUtil.java:64)
at uk.co.caprica.vlcj.discovery.windows.DefaultWindowsNativeDiscoveryStrategy.onGetDirectoryNames(DefaultWindowsNativeDiscoveryStrategy.java:56)
at uk.co.caprica.vlcj.discovery.StandardNativeDiscoveryStrategy.getDirectoryNames(StandardNativeDiscoveryStrategy.java:44)
at uk.co.caprica.vlcj.discovery.AbstractNativeDiscoveryStrategy.discover(AbstractNativeDiscoveryStrategy.java:59)
at uk.co.caprica.vlcj.discovery.NativeDiscovery.discover(NativeDiscovery.java:118)
at com.flaiker.bottimus.Main.main(Main.java:58)
470 [main] INFO uk.co.caprica.vlcj.discovery.NativeDiscovery - Discovery found libvlc at 'C:\Program Files (x86)\VideoLAN\VLC'
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': Native library (win32-x86-64/libvlc.dll) not found in resource path ([file:/C:/Program%20Files%20(x86)/VideoLAN/VLC/bottimus-v1.0.2.jar])
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:277)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403)
at com.sun.jna.Library$Handler.(Library.java:147)
at com.sun.jna.Native.loadLibrary(Native.java:502)
at com.sun.jna.Native.loadLibrary(Native.java:481)
at uk.co.caprica.vlcj.binding.LibVlc.(LibVlc.java:115)
at com.flaiker.bottimus.Main.main(Main.java:59)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.