Git Product home page Git Product logo

blizcord's People

Contributors

bleuzen avatar lionkor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blizcord's Issues

Support for localization

In my case, English is not a problem but it would be confortable to enjoy this program into user's mother language, and make this application more accesible

Unknown audio OP code

Bot don't play anything, url, or file (wav, ogg, mp3), in logs it sends this

18:01:46.991 [JDA Gateway-Worker 1] DEBUG net.dv8tion.jda.internal.requests.WebSocketClient - Sending voice request {"op":4,"d":{"self_deaf":false,"guild_id":"744189716722745394","channel_id":null,"self_mute":false}} 18:01:47.523 [JDA Gateway-Worker 1] DEBUG net.dv8tion.jda.internal.requests.WebSocketClient - Sending voice request {"op":4,"d":{"self_deaf":false,"guild_id":744189716722745394,"channel_id":1059879536289919107,"self_mute":false}} 18:01:48.055 [JDA AudioWS-ReadThread (guildId: 744189716722745394)] DEBUG net.dv8tion.jda.internal.audio.AudioWebSocket - Using encryption mode xsalsa20_poly1305_lite 18:01:54.103 [JDA AudioWS-ReadThread (guildId: 744189716722745394)] DEBUG net.dv8tion.jda.internal.audio.AudioWebSocket - Unknown Audio OP code. {"op":18,"d":{"user_id":"745325857228455976","flags":null}}

I didn't do anything to the bot or the java, I just didn't run this bot for about 5 months.

Add command !shuffle

Congrats on the bot, works like a charm! And I was quite surprised to find it on AUR 😀

Are there any plans to add a shuffle command to randomize the playlist order?

Blizcord on Raspbian Lite

I'm unable to run Blizcord on Raspbian Lite (it has not any desktop environment) but is able to connect to Discord and stay online. However it doesn't do anything when you call it:

[12:23:37] [INFO] [Blizcord] Version: 0.9.2
[12:23:37] [INFO] [Blizcord] Developer: Bleuzen [email protected]
[12:23:37] [INFO] [Blizcord] Starting bot...
[12:23:37] [INFO] [Blizcord] Config: /home/user/.blizcord/config.json
[12:23:37] [INFO] [Blizcord] Starting JDA...
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.jnativehook.GlobalScreen.getAutoRepeatRate()Ljava/lang/Integer;
at org.jnativehook.GlobalScreen.getAutoRepeatRate(Native Method)
at org.jnativehook.GlobalScreen.(Unknown Source)
at com.github.bleuzen.blizcord.c.a(Unknown Source)
at com.github.bleuzen.blizcord.a.d.h(Unknown Source)
at com.github.bleuzen.blizcord.a.d.a(Unknown Source)
at com.github.bleuzen.blizcord.a.main(Unknown Source)

And when I tried to call it to play a YouTube video, It threw me this error:

12:24:20.063 [JDA MainWS-ReadThread] ERROR net.dv8tion.jda.core.JDA - One of the EventListeners had an uncaught exception
java.lang.NullPointerException: null
at java.lang.String.startsWith(String.java:1405)
at java.lang.String.startsWith(String.java:1434)
at com.github.bleuzen.blizcord.a.d.onMessageReceived(Unknown Source)
at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(Unknown Source)
at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(Unknown Source)
at net.dv8tion.jda.core.handle.MessageCreateHandler.handleInternally(Unknown Source)
at net.dv8tion.jda.core.handle.SocketHandler.handle(Unknown Source)
at net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(Unknown Source)
at net.dv8tion.jda.core.requests.WebSocketClient.onEvent(Unknown Source)
at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(Unknown Source)
at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(Unknown Source)
at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(Unknown Source)
at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(Unknown Source)
at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(Unknown Source)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(Unknown Source)
at com.neovisionaries.ws.client.ReadingThread.main(Unknown Source)
at com.neovisionaries.ws.client.ReadingThread.runMain(Unknown Source)
at com.neovisionaries.ws.client.WebSocketThread.run(Unknown Source)

Could not play "unknown file format"

Hi there

I gave your Blizcord a try and with the little GUI it seems nice so far
But after I set it up to connect with my discord bot
and I am (using the GUI) adding a mp3 file
it always says "Could not play Unknown file format"

Am I doing sth wrong?

thanks

Discord update

discord updated with a breaking change a few weeks ago, i would really appreciate if this bot would be updated since i sadly dont know enough about coding myself.

Playing a local file

Hey,

I'm trying play a local file but can't figure it out for the life of me. I'm running the code myself (not through the .exe), where do I put the .mp3 file?

Thanks

Building insctructions

I would like to build my custom version of Blizcord only for testing proposes but I cannot find any information to do that

Support for symbolic links

On my server I have several playlists but some of them share the same songs, I tried to create new playlists based on symlinks but Blizcord is unable to read them. I didn't test it with hard links

Issue to listen Youtube video

Hello !

Thank you for your awesome work. Listen local files on Discord is perfect and very simple!
But I have a problem to listen youtube video. I share you screenshot in attach files
Capture

I hope you will answer.

Best regards

How do I play a local file?

I added a playlist with !add and the file path of the folder. The bot started playing music as it joined, the first one on the folder. Now if I want it to play a specific file on the folder, what exactly should I put after the !play command?
And is it possible to get a "Now Playing «song name»" message, every time the song changes?

NullPointerException When Playing From YouTube

The bot works fine playing local files, but I can't seem to get YouTube links to play. Not sure what I'm doing wrong! Running Arch. I tried building from source and get the same issue.

[13:41:16] [INFO] [Blizcord] Developer: Bleuzen <[email protected]>
[13:41:42] [INFO] [Blizcord] Starting bot...
[13:41:42] [INFO] [Blizcord] Config: /home/user/.blizcord/config.json
[13:41:42] [INFO] [Blizcord] Starting JDA...
[13:41:44] [INFO] [Blizcord] Successfully started.
13:41:58.092 [JDA MainWS-ReadThread] ERROR net.dv8tion.jda.api.JDA - One of the EventListeners had an uncaught exception
java.lang.NullPointerException: null
        at com.github.bleuzen.blizcord.a.d.onMessageReceived(Unknown Source)
        at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(Unknown Source)
        at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(Unknown Source)
        at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(Unknown Source)
        at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(Unknown Source)
        at net.dv8tion.jda.internal.JDAImpl.handleEvent(Unknown Source)
        at net.dv8tion.jda.internal.handle.MessageCreateHandler.handleInternally(Unknown Source)
        at net.dv8tion.jda.internal.handle.SocketHandler.handle(Unknown Source)
        at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(Unknown Source)
        at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(Unknown Source)
        at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(Unknown Source)
        at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(Unknown Source)
        at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(Unknown Source)
        at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(Unknown Source)
        at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(Unknown Source)
        at com.neovisionaries.ws.client.ReadingThread.handleFrame(Unknown Source)
        at com.neovisionaries.ws.client.ReadingThread.main(Unknown Source)
        at com.neovisionaries.ws.client.ReadingThread.runMain(Unknown Source)
        at com.neovisionaries.ws.client.WebSocketThread.run(Unknown Source)```

Bot commands

Not all of the listed commands work.
image
I am not able to play local files through the bot.

Automatic shuffle when loading a playlist

I don't know if there is a trick to do it but it would be nice if there is an option to automaticaly shuffle everytime lists that you are going to play. Loading a list and typing --shuffle everytime is annoying

Stuck at starting up

I recently reinstalled this bot but when i start it up it seems to be stuck on "starting JDA".
this has never happened before.
Screenshot from 2020-11-16 14-21-26

Add restart bot as option on Discord

Hi Bleuzen,

I Really like the bot so far but sometimes it glitches out and a restart of the bot is needed.

Would you be able to add that as !restart ?

i will add seperate issues for the errors.

Bot doesn't work

Hello, Bleuzen. I know bot is old and outdated) But if you have time, can you update it???

Can't play any audio files

Windows user. I use the add function in the gui executable, but all files result in an error saying Unknown file format, or error finding the file, or something broke while playing this track.
I tried first with mp3 files, but thought maybe since this bot was built for linux, a .flac or .ogg file, might be the case, but nope, same problem. any idea wtf is going on?

Can't start bot (Error 0?)

blizcord

The bot started and crashed the first time to create the config/control channel etc but I've never been able to keep it open. It just crashes with an error popup with text "0".

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.