mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 06:20:30 +02:00
discord status
This commit is contained in:
parent
148ce28c45
commit
c4906d13d2
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ lanyard({
|
|||
offline: "#80848e"
|
||||
};
|
||||
|
||||
document.getElementById('pfp').style.borderColor = statusColors[data.discord_status] || offline;
|
||||
|
||||
if (customStatus) {
|
||||
nameDiv.setAttribute("data-tooltip", customStatus.state);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue