mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
fix node.js crash due to error messages being called with invalid error keys (#1728)
* Comments * More Comments * Added new error message * Fixed error message * Removing temporary comments * Fixed error messages * Added more new error messages * Removed trailing space * Removed other trailing space * Changed error key * Changed error key used
This commit is contained in:
@@ -53,6 +53,8 @@ const Messages = {
|
||||
VOICE_SESSION_ABSENT: 'Session ID not supplied.',
|
||||
VOICE_INVALID_ENDPOINT: 'Invalid endpoint received.',
|
||||
VOICE_NO_BROWSER: 'Voice connections are not available in browsers.',
|
||||
VOICE_CONNECTION_ATTEMPTS_EXCEEDED: attempts => `Too many connection attempts (${attempts}).`,
|
||||
VOICE_JOIN_SOCKET_CLOSED: 'Tried to send join packet, but the WebSocket is not open.',
|
||||
|
||||
OPUS_ENGINE_MISSING: 'Couldn\'t find an Opus engine.',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user