Update To Devs and Badges Sys

This commit is contained in:
thororen 2024-04-18 19:15:01 -04:00
parent e4425ca98f
commit 44109d9979
58 changed files with 295 additions and 240 deletions

View file

@ -35,4 +35,4 @@ export function Timer({ time }: Readonly<{ time: number; }>) {
</Tooltip>
);
}
}
}

View file

@ -23,4 +23,4 @@ export function TimerIcon({ height = 16, width = 16, className }: Readonly<{
C425,186.896,387.944,124.958,332.229,90.04z M355,272.5H212.5V130h30v112.5H355V272.5z"/>
</svg>
);
}
}

View file

@ -6,7 +6,7 @@
import { definePluginSettings } from "@api/Settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
import { Devs, EquicordDevs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
import { FluxDispatcher, GuildStore, UserStore } from "@webpack/common";
import { PassiveUpdateState, VoiceState } from "@webpack/types";
@ -101,7 +101,7 @@ let runOneTime = true;
export default definePlugin({
name: "AllCallTimers",
description: "Add call timer to all users in a server voice channel.",
authors: [Devs.MaxHerbold, Devs.D3SOX],
authors: [EquicordDevs.MaxHerbold, Devs.D3SOX],
settings,

View file

@ -6,10 +6,10 @@
export function TimerText({ text, className }: Readonly<{ text: string; className: string; }>) {
return <div className={`timeCounter ${className}`} style={{
marginTop: -6, // this margin value doesn't change the default size of the user container
marginTop: -6, // this margin value doesn't change the default size of the user container
fontWeight: "bold",
fontFamily: "monospace",
fontSize: 11, // good size that doesn't touch username
fontSize: 11, // good size that doesn't touch username
position: "relative",
}}>{text}</div>;
}
}