Giter Site home page Giter Site logo

zekrotja / yuri Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 8.0 581 KB

Best soundbot in whole North Korea! Supporting hotkeys and a web interface!

License: MIT License

JavaScript 73.22% CSS 4.90% HTML 21.61% Dockerfile 0.24% Shell 0.04%
bot discord soundboard-bot soundboard client user-client hotkeys

yuri's People

Contributors

devmaxiss avatar error2507 avatar zekrotja avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

yuri's Issues

Error leaving guild channel without web interface logout

Issue Type

  • Bug
  • Enhancement
  • Feature Suggestion
  • Crash (?)

Application

  • Discord Bot Client
  • Websocket API
  • Hotkey Client
  • Web Interface

Description

Error when not logging out but leaving voice channel on guild created player and session in.

Steps to reproduce

  1. Step
    • Join channel, create player and log in to create session
  2. Step
    • Quit voice channel of guild
  3. Step
    • Reload webpanel

Logs & Screenshots

TypeError: Cannot read property 'id' of undefined
    at Websocket.app.get (/Programs/discordBots/soundBoard2/src/core/websocket.js:102:36)
    at Layer.handle [as handle_request] (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/layer.js:95:5)
    at next (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/layer.js:95:5)
    at /Programs/discordBots/soundBoard2/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/index.js:335:12)
    at next (/Programs/discordBots/soundBoard2/node_modules/express/lib/router/index.js:275:10)
    at SendStream.error (/Programs/discordBots/soundBoard2/node_modules/serve-static/index.js:121:7)
    at SendStream.emit (events.js:160:13)

Relogin / Refetch button in web interface

Issue Type

  • Bug
  • Enhancement
  • Feature Suggestion
  • Crash

Application

  • Discord Bot Client
  • Websocket API
  • Hotkey Client
  • Web Interface

Description

Relogin / Refetch button to re-create session if logged in users guild changed.

Add Lavalink support

Issue Type

  • Bug
  • Enhancement
  • Feature Suggestion
  • Crash

Application

  • Discord Bot Client
  • Websocket API
  • Hotkey Client
  • Web Interface

Description

Add lavalink support. https://github.com/Frederikam/Lavalink (https://github.com/sedmelluq/lavaplayer)
The current issue with Yuri is that you have to restart the bot after you've been running it for a while. It gets slower and slower.
Lavalink should solve this problem. It's a proven solution used by Rythm, RedDiscord-Bot, Dyno, Fredboat, ... .
It's a solution written in java but you can treat it as a blackbox. There are clients written in python, javascript, java, etc. .
You download the .jar file and run the server with java -jar Lavalink.jar. Configuration of the lavalink server is done via application.yml.
On your Discord Bot you connect to the lavalink server by providing the hostname, the port and the password.

The massive advantage is you have a really performant audio player with low memory footprint

Session Idle Timeout

Issue Type

  • Bug
  • Enhancement
  • Feature Suggestion
  • Crash

Application

  • Discord Bot Client
  • Websocket API
  • Hotkey Client
  • Web Interface

Description

If you dont do any action with the soundboard for a defined time, the the session will be destroyed and you must re-login.

C# client recognizes wron keybinds

Issue Type

  • Bug
  • Enhancement
  • Feature Suggestion
  • Crash

Application

  • Discord Bot Client
  • Websocket API
  • Hotkey Client
  • Web Interface

Description

(Windoof) Keybinds like CTRL+1 are recognized randomly as CTRL+WIN+1 or CTRL+ALT+1

Steps to reproduce

I bound multiple sounds, but just on my number keys - I got keybinds for CTRL+1, CTRL+2..., and some for CTR+ALT+1...
Sometimes, the keybinds are recognized as a different one.
image

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.