This commit is contained in:
Mirco Wittrien 2019-12-28 17:58:33 +01:00
parent 972ce0fc74
commit 9636cb07da
2 changed files with 2 additions and 2 deletions

View File

@ -2114,7 +2114,7 @@
BDFDB.ChannelUtils = {};
BDFDB.ChannelUtils.isTextChannel = function (channel) {
return channel && channel.type && (channel.type == BDFDB.DiscordConstants.ChannelTypes.GUILD_TEXT || channel.type == BDFDB.DiscordConstants.ChannelTypes.GUILD_STORE || channel.type == BDFDB.DiscordConstants.ChannelTypes.GUILD_ANNOUNCEMENT);
return BDFDB.ObjectUtils.is(channel) && (channel.type == BDFDB.DiscordConstants.ChannelTypes.GUILD_TEXT || channel.type == BDFDB.DiscordConstants.ChannelTypes.GUILD_STORE || channel.type == BDFDB.DiscordConstants.ChannelTypes.GUILD_ANNOUNCEMENT);
};
BDFDB.ChannelUtils.getId = function (div) {
if (!Node.prototype.isPrototypeOf(div) || !BDFDB.ReactUtils.getInstance(div)) return;

File diff suppressed because one or more lines are too long