Comments (12)
It's playing music!
from archived-bot.
This exception occurs when either your supplied token is invalid, or the token belongs to a user account.
from archived-bot.
Do I need to use the "client secret" ?
from archived-bot.
from archived-bot.
That was the problem...
But when I try to play music I get this:
Exception in thread "JDA AudioConnection Guild: 257923254147219456 Ready Thread" java.lang.UnsatisfiedLinkError: Required library at /natives/linux-arm/libudpqueue.so was not found
at com.sedmelluq.discord.lavaplayer.natives.NativeLibLoader.extractLibrary(NativeLibLoader.java:93)
at com.sedmelluq.discord.lavaplayer.natives.NativeLibLoader.load(NativeLibLoader.java:77)
at com.sedmelluq.discord.lavaplayer.udpqueue.natives.UdpQueueManagerLibrary.getInstance(UdpQueueManagerLibrary.java:13)
at com.sedmelluq.discord.lavaplayer.udpqueue.natives.UdpQueueManager.<init>(UdpQueueManager.java:26)
at com.sedmelluq.discord.lavaplayer.jdaudp.NativeAudioSendFactory.initialiseQueueManager(NativeAudioSendFactory.java:31)
at com.sedmelluq.discord.lavaplayer.jdaudp.NativeAudioSendFactory.addInstance(NativeAudioSendFactory.java:58)
at com.sedmelluq.discord.lavaplayer.jdaudp.NativeAudioSendSystem.start(NativeAudioSendSystem.java:22)
at net.dv8tion.jda.core.audio.AudioConnection.setupSendSystem(AudioConnection.java:225)
at net.dv8tion.jda.core.audio.AudioConnection.access$200(AudioConnection.java:47)
at net.dv8tion.jda.core.audio.AudioConnection$1.run(AudioConnection.java:123)
from archived-bot.
I'm running Java 8 JDK
from archived-bot.
You are running the bot on an arm-linux
system. This is actually quite strange as I added a special case for simply arm
architecture. This is caused by a feature that allows for constant sending even when the JVM is stopped by garbage collection.
I have just committed a patch on the development
branch that disables this optional JDA feature when running arm-linux
. Try cloning that branch instead (with --recursive
to include submodules).
from archived-bot.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running fredboat.feature.I18nTest
[22:06:52] [ INFO ] [I18n] Loaded 21 languages: {it_IT=[Italiano}, ru_RU=[???????}, ro_RO=[Rom?n?}, da_DK=[Dansk}, tr_TR=[T?rk?e}, id_ID=[Bahasa Indonesia}, bg_BG=[????????? ????}, pt_BR=[Portugu?s (Brazil)}, vi_VN=[Ti?ng Vi?t}, fr_FR=[Fran?ais}, he_IL=[?????}, cs_CZ=[?e?tina}, de_DE=[Deutsch}, zh_TW=[????}, ko_KR=[???}, en_US=[English}, en_TS=[Tsundere English}, en_PT=[Pirate English}, es_ES=[Espa?ol}, nl_NL=[Nederlands}, pt_PT=[Portugu?s}}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.675 sec
[22:06:52] [ INFO ] [BotTest] Loading test credentials from TEST_CONF
org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:451)
at org.json.JSONObject.<init>(JSONObject.java:195)
at org.json.JSONObject.<init>(JSONObject.java:319)
at fredboat.Config.<init>(Config.java:71)
at fredboat.BotTest.<init>(BotTest.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.maven.surefire.junit.PojoTestSet.<init>(PojoTestSet.java:63)
at org.apache.maven.surefire.junit.JUnit3Provider.createTestSet(JUnit3Provider.java:107)
at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:97)
... 9 more
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.559 s
[INFO] Finished at: 2017-02-10T22:06:52+00:00
[INFO] Final Memory: 29M/69M
[INFO] ------------------------------------------------------------------------
from archived-bot.
Oh yeah, that's something I should get around to fix.
Anyways, you can safely skip tests by appending your mvn
command with -DskipTests=true
.
from archived-bot.
It's not a real problem but the bot is saying this: "Playing [0] Say ;;help"
I suppose [0] is where the title of the had to be?
from archived-bot.
The number is the current shard id. This isn't really relevant when running just one shard.
Displaying the song title would be impossible without running one shard per guild (which you shouldn't unless you have one or two guilds), which is not what FredBoat was designed.
The status is shard-specific.
from archived-bot.
Ah... Thanks for helping me!
from archived-bot.
Related Issues (20)
- Bot got stuck in connecting to VC after discord server crash HOT 5
- Bot doesn't leave when left alone HOT 4
- Bot not responding while doing searching tracks from Spotify in YouTube
- DanceCommand is broken
- FredBoat Music Failures HOT 1
- Prioritized tracks remain prioritized with the 'all' repeat mode HOT 6
- Compatibility issue with Clyp.it HOT 1
- Youtube error with Twitch streams HOT 1
- Feature: Gracefully handling Lavalink restarts HOT 1
- Edit the message sent when ;;help is executed HOT 3
- Feature: Add build instructions to CONTRIBUTING.md HOT 4
- [Feature Request] playfirst command HOT 1
- Use more updated version of gradle
- Add youtube title to ;;export output. HOT 1
- Configuration option to restrict DJs from skipping Admin's songs.
- SELFHOSTED - stop command makes the bot leave the channel HOT 3
- Youtube search is broken
- Feature request: Allow FredBoat to DM me track announcements HOT 1
- [Feature Request] Play direct links to mp3, wav, or other music files HOT 2
- SayCommand is not secure HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archived-bot.