Updated (plugins/AllCallTimeCounter.plugin.js)

This commit is contained in:
firebadnofire 2024-05-01 19:36:03 -04:00
parent dc1442ac8c
commit 373491cd10
Signed by: firebadnofire
SSH Key Fingerprint: SHA256:bnN1TGRauJN84CxL1IZ/2uHNvJualwYkFjOKaaOilJE
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
* @source https://github.com/Max-Herbold/AllCallTimersDiscordPlugin/blob/main/AllCallTimeCounter.plugin.js
* @updateUrl https://raw.githubusercontent.com/Max-Herbold/AllCallTimersDiscordPlugin/main/AllCallTimeCounter.plugin.js
* @authorLink https://github.com/Max-Herbold
* @version 1.0.2
* @version 1.0.3
*/
module.exports = (_ => {
@ -23,11 +23,11 @@ module.exports = (_ => {
className: "timeCounter",
children: time,
style: {
marginTop: -6,
fontWeight: "bold",
fontFamily: "monospace",
fontSize: 11,
position: "relative",
color: "var(--channels-default)",
}
});
}
@ -129,7 +129,7 @@ module.exports = (_ => {
const time = this.users.get(user.id)[1]
const tag = window.BdApi.React.createElement(Timer, { time: time });
parent[2].props.children.splice(1, 0, tag);
parent.splice(4, 0, tag);
}
processVoiceUser(e, _, returnValue) {