Updated (plugins/AllCallTimeCounter.plugin.js)
This commit is contained in:
parent
dc1442ac8c
commit
373491cd10
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue