mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Set default fallback if defaultchannel query parameter is locked for the user
This commit is contained in:
parent
08a90c8a51
commit
0ece2b56e7
@ -314,6 +314,9 @@
|
||||
}
|
||||
for (var i = 0; i < guildchannels.length; i++) {
|
||||
if (guildchannels[i].channel.id == defaultChannel) {
|
||||
if (!guildchannels[i].read) {
|
||||
return;
|
||||
}
|
||||
selected_channel = defaultChannel;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user