mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-14 23:50:33 +03:00
Stop execution of tracker when automatically moving to Friends list
This commit is contained in:
parent
4db76900d3
commit
d22163b358
@ -8,6 +8,7 @@ window.DHT_LOADED = true;
|
||||
if (DISCORD.getSelectedChannel()){
|
||||
if (confirm("You ran the script while in a channel, some messages may not be saved correctly. Do you want to go to your Friends list and refresh the page?")){
|
||||
window.location = "https://discordapp.com/channels/@me";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user