Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
/ yuri.hotkeyclient Public archive

HotKey client for "Yuri", the Discord SoundBoard.

Notifications You must be signed in to change notification settings

zekroTJA/yuri.hotkeyclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yuri WebAPIClient

Server Side

First of all, you need to set a request token in the bots config.json like in the following example:

{
   "wstoken": "RjmdFcLG62LKXTjDJSgAgYqxX7Nvq7xGJ3LekqtGZD7gDn43GTTa2T7t2uhBF9RG",
}

A nice site to generate such tokens is passwordsgenerator.net.

Then, if you host your bot on an private home server (for example a Raspberry Pi or somethign like that), you need to forward the port 6612 (or whatever else port if you had changed it in the websocket.js class) in your router / gateway.

If everything went successfull, you will see that the websocket is starting right before the Discord client is loggs in:


Client Side

Just download the lastest version of the tool and save it somewhere on your PC or compile it by yourself. You'll need Visual Stuido 2015+ for this.

Also, don't forget to place the Newtonsoft.Json.dll right next to the file.

Then, just start the tool, log in with the websocket URL (defaultly something like http://yourserversIP:6612), your token you've set in the config.json and your Discord ClientID (just enter <prefix>myid in the chat and the bot will give you your ID). You need to be in a voice channel on any guild the bot is connected to that the bot can fetch the guild and create a player if needed.

Then, just define some key combinations with some sounds.

Attention:
These are global hotkeys! That means, that they could overwrite some hot keys of games or programs, so chose them carefully!


© 2018 Ringo Hoffmann (zekro Development)
contact[at]zekro.de | zekro.de

About

HotKey client for "Yuri", the Discord SoundBoard.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages