[Bug] Fix BetterRoleColors
FIX BETTER ROLE COLORS PLZ 😭😭😭😭😭
i think the thing which causing the crashing is only typing indicator, i'm still testing if the issue occuring with dissabled the typing option, but at least, not crashing for now
i think the thing which causing the crashing is only typing indicator, i'm still testing if the issue occuring with dissabled the typing option, but at least, not crashing for now
I tested you PR and it didn't seem to fix the colors for the Voice chat users. But I also hadn't had any crashes with this plugin previously either. It's simply not working anymore.
i think the thing which causing the crashing is only typing indicator, i'm still testing if the issue occuring with dissabled the typing option, but at least, not crashing for now
I tested you PR and it didn't seem to fix the colors for the Voice chat users. But I also hadn't had any crashes with this plugin previously either. It's simply not working anymore.
Yeah, as I write in description I only figured out account description fix and pop ups username only, but the voice I not done yet.
Guys) Check it
patchVoiceUsers() {
const { React } = BdApi;
Patcher.after(VoiceUser.prototype, "renderName", (thisObject, _, returnValue) => {
if (!this.settings.modules.voice) return;
if (!returnValue || !returnValue.props) return;
const member = this.getMember(thisObject?.props?.user?.id);
if (!member || !member.colorString) return;
return React.createElement(
'div',
{
style: {
display: 'contents',
['--channels-default']: member.colorString,
...(this.settings.global.saturation ? {
["data-accessibility"]: "desaturate"
} : {}),
}
},
returnValue
);
});
}
```
I fix it)
I fix it)
You are a god! Thanks!
Yo) I small refactor and fix color with hover and active micro BetterRoleColors.plugin.js.zip Developers, please check. I can make pull request.
@vicimpa your file is working but memberlist headers are not colored.
@vicimpaВаш файл работает, но заголовки списка участников не окрашены.
What do you mean?
It should be the same color as the bot's name
because of this plugin setting
Yo) I small refactor and fix color with hover and active micro BetterRoleColors.plugin.js.zip Developers, please check. I can make pull request.
Thanks, that's work!
Please update https://github.com/zerebos/BetterDiscordAddons/blob/master/Plugins/BetterRoleColors/BetterRoleColors.plugin.js @zerebos