mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
For some reason there's a way to join text channels via the Discord API but not the Discord Client, so this commit prevents the Client from crashing by checking to see if the channels are voice channels.
12 lines
174 B
JavaScript
12 lines
174 B
JavaScript
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports["default"] = {
|
|
IDLE: 0,
|
|
LOGGING_IN: 1,
|
|
LOGGED_IN: 2,
|
|
READY: 3,
|
|
DISCONNECTED: 4
|
|
};
|
|
module.exports = exports["default"];
|