-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.js
More file actions
11 lines (11 loc) · 787 Bytes
/
main.js
File metadata and controls
11 lines (11 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
function rd(target) {
// Redirects the user to a subpage, or another page.
if (target == "git") {window.location = "https://github.com/orgs/PyBotDevs/repositories";}
else if (target == "isobot") {window.location = "https://pybotdevs.github.io/isobot";}
else if (target == "yatodb") {window.location = "https://PyBotDevs.github.io/yatodb";}
else if (target == "iso6.9") {window.location = "https://github.com/PyBotDevs/iso6.9";}
else if (target == "skyblockpy") {window.location = "https://github.com/PyBotDevs/skyblockpy";}
else if (target == "codebot") {window.location = "https://github.com/PyBotDevs/codebot";}
else if (target == "server") {window.location = "https://discord.gg/b5pz8T6Yjr";}
else {console.error("Page target does not exist.");}
}