Giter Site home page Giter Site logo

Comments (12)

Matthww avatar Matthww commented on July 20, 2024 1

It's playing music!

from archived-bot.

freyacodes avatar freyacodes commented on July 20, 2024

This exception occurs when either your supplied token is invalid, or the token belongs to a user account.

from archived-bot.

Matthww avatar Matthww commented on July 20, 2024

Do I need to use the "client secret" ?

from archived-bot.

freyacodes avatar freyacodes commented on July 20, 2024

from archived-bot.

Matthww avatar Matthww commented on July 20, 2024

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.

Matthww avatar Matthww commented on July 20, 2024

I'm running Java 8 JDK

from archived-bot.

freyacodes avatar freyacodes commented on July 20, 2024

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.

Matthww avatar Matthww commented on July 20, 2024
-------------------------------------------------------
 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.

freyacodes avatar freyacodes commented on July 20, 2024

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.

Matthww avatar Matthww commented on July 20, 2024

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.

freyacodes avatar freyacodes commented on July 20, 2024

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.

Matthww avatar Matthww commented on July 20, 2024

Ah... Thanks for helping me!

from archived-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.