mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 01:51:22 +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