mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 22:17:03 +01:00
Resolve getting channel type bug
This commit is contained in:
parent
cf79ddcde1
commit
281715ab9f
@ -843,7 +843,7 @@ var passedCookieTest = true; // If passed cross origin test
|
||||
}
|
||||
for (var i = 0; i < guildchannels.length; i++) {
|
||||
if (guildchannels[i].channel.id == defaultChannel) {
|
||||
if (!guildchannels[i].read || guildchannels[i].type != "text") {
|
||||
if (!guildchannels[i].read || guildchannels[i].channel.type != "text") {
|
||||
return;
|
||||
}
|
||||
selected_channel = defaultChannel;
|
||||
|
Loading…
Reference in New Issue
Block a user