detritus-client-socket
's Gateway Socket
Our Dispatch Handler
Default Image Format to use for any url getters
If this is a bot, this will be filled with it's application owner or all of the application's team owners If this is a user, this will only include the user object Only fills once we receive the Ready payload
If the client is ran or not
(Users only) if the client requires an action (like the captcha overlay)
detritus-client-rest
's Rest Client, but wrapped over
our token
Us, only fills once we received the Ready payload from the gateway
Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Guild Id you want to connect to, if a user and wanting to connect to a Dm Channel, keep this blank
Channel Id you want to connect to or move to
Options to pass into the detritus-client-socket
's gateway's voiceConnect
Returns a promise that resolves into a Voice Connection object and an isNew variable. isNew is used to see if the connection was reused (e.g. changing channels) so you can put listeners on or not
Generated using TypeDoc
Shard Client, represents one gateway connection