class

RichCrystal::Ipc

Inherits Reference / Object

Constructors

new

Create the UNIXSocket with ipc_path and socket name 'discord-ipc-0'

Source

Instance methods

ipc_path

Return where is the discord-ipc-0 socket with different environment variables

Source
send(opcode : Opcode, payload : String) : String

Send a payload to the UNIXSocket with the opcode, returns the JSON response

Source

Nested types