diff --git a/src/plugins/userVoiceShow/components.tsx b/src/plugins/userVoiceShow/components.tsx index 9029cdc5..675588ed 100644 --- a/src/plugins/userVoiceShow/components.tsx +++ b/src/plugins/userVoiceShow/components.tsx @@ -111,9 +111,37 @@ function VoiceChannelTooltip({ channel, isLocked }: VoiceChannelTooltipProps) { {guild.name} )} -
+
{channelIcon} - {channelName} + + {channelName} + +
+ + {users.length < 10 ? `0${users.length}` : `${users.length}`} + + + {channel.userLimit < 10 ? `0${channel.userLimit}` : `${channel.userLimit}`} + +
{isLocked ? : } diff --git a/src/plugins/userVoiceShow/index.tsx b/src/plugins/userVoiceShow/index.tsx index 3d119c43..67e5e022 100644 --- a/src/plugins/userVoiceShow/index.tsx +++ b/src/plugins/userVoiceShow/index.tsx @@ -21,7 +21,7 @@ import "./style.css"; import { addMemberListDecorator, removeMemberListDecorator } from "@api/MemberListDecorators"; import { addMessageDecoration, removeMessageDecoration } from "@api/MessageDecorations"; import { definePluginSettings } from "@api/Settings"; -import { Devs } from "@utils/constants"; +import { Devs, EquicordDevs } from "@utils/constants"; import definePlugin, { OptionType } from "@utils/types"; import { VoiceChannelIndicator } from "./components"; @@ -50,7 +50,7 @@ const settings = definePluginSettings({ export default definePlugin({ name: "UserVoiceShow", description: "Shows an indicator when a user is in a Voice Channel", - authors: [Devs.Nuckyz, Devs.LordElias], + authors: [Devs.Nuckyz, Devs.LordElias, EquicordDevs.omaw], dependencies: ["MemberListDecoratorsAPI", "MessageDecorationsAPI"], settings,