This commit is contained in:
Mirco Wittrien 2021-04-08 18:13:57 +02:00
parent 604a0f25c7
commit 20cb0ea28d
5 changed files with 51 additions and 11 deletions

View File

@ -2,7 +2,7 @@
* @name DisplayServersAsChannels
* @author DevilBro
* @authorId 278543574059057154
* @version 1.4.7
* @version 1.4.8
* @description Displays Servers in a similar way as Channels
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "DisplayServersAsChannels",
"author": "DevilBro",
"version": "1.4.7",
"version": "1.4.8",
"description": "Displays Servers in a similar way as Channels"
}
};
@ -306,6 +306,7 @@ module.exports = (_ => {
});
if (index > -1) {
let insertElements = returnvalue => {
if (BDFDB.ReactUtils.findChild(parent, {props: [["className", BDFDB.disCN._displayserversaschannelsname]]})) return;
let childEles = [
[
options.isDm && returnvalue.props.icon && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.AvatarComponents.default, {
@ -527,6 +528,17 @@ module.exports = (_ => {
width: 100% !important;
}
${BDFDB.dotCN._displayserversaschannelsstyled} .typingindicator-guild,
${BDFDB.dotCN._displayserversaschannelsstyled} .typingindicator-dms,
${BDFDB.dotCN._displayserversaschannelsstyled} .typingindicator-folder {
position: static !important;
margin-left: -34px !important;
padding-left: 6px !important;
box-shadow: unset !important;
background: var(--background-primary) !important;
z-index: 1 !important;
}
#server-search ${BDFDB.dotCN.guildinner} {
width: ${amounts.serverListWidth - 20}px;
height: ${amounts.serverElementHeight}px;

View File

@ -2,7 +2,7 @@
* @name PluginRepo
* @author DevilBro
* @authorId 278543574059057154
* @version 2.1.6
* @version 2.1.7
* @description Allows you to look at all Plugins from the Plugin Repo and download them on the fly
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,13 +17,8 @@ module.exports = (_ => {
"info": {
"name": "PluginRepo",
"author": "DevilBro",
"version": "2.1.6",
"version": "2.1.7",
"description": "Allows you to look at all Plugins from the Plugin Repo and download them on the fly"
},
"changeLog": {
"fixed": {
"New BD Beta": "Works 100% with the new BD Version"
}
}
};
@ -854,7 +849,7 @@ module.exports = (_ => {
let result = new RegExp(`[\\s\{\\}\[\\:,]${tag.replace("get", "").toLowerCase()}\\s*:\\s*([^\\{^\\}^\\[^\\]^:^,]+)`, "gi").exec(configString);
if (result) setPluginParameter(plugin, tag, result[1]);
}
if (!plugin.getAuthor) plugin.getAuthor = ((new RegExp(`[\\s\{\\}\[\\:,]authors\\s*:\\s*\\[\\s*(.+)\\s*\\]`, "gi").exec(configString) || [])[1] || "").split(/[\{\}\[\]:,]+\s*name\s*:/gi).slice(1).map(n => n.split(",")[0]).join(", ");
if (!plugin.getAuthor) plugin.getAuthor = ((new RegExp(`[\\s\{\\}\[\\:,]authors\\s*:\\s*\\[\\s*(.+?)\\s*\\]`, "gi").exec(configString) || [])[1] || "").split(/[\{\}\[\]:,]+\s*name\s*:/gi).slice(1).map(n => n.split(",")[0]).join(", ").trim();
if (!plugin.getDescription) {
let result = new RegExp(`[\\s\{\\}\[\\:,]desc\\s*:\\s*([^\\{^\\}^\\[^\\]^:^,]+)`, "gi").exec(configString);
if (result) setPluginParameter(plugin, "getDescription", result[1]);

View File

@ -158,6 +158,7 @@
10. PLUGIN/THEMEREPO
11. CHANNELHISTORY
12. CHANNELTABS
13. TYPINGINDICATOR
19. UPDATENOTICE
20. WATERMARK
*/
@ -8084,6 +8085,19 @@ html .channelTabs-newTab:hover {
color: var(--interactive-active);
}
/* ---- 18.13 CHANNELTABS ---- */
html .typingindicator-guild,
html .typingindicator-dms,
html .typingindicator-folder {
background: rgb(var(--vtransparencycolor), 0.2);
border: 4px solid rgb(var(--vtransparencycolor), 0.2);
box-shadow: unset;
right: 8px;
bottom: -5px;
padding: 2px 0;
}
/* ~~~~ 19. UPDATENOTICE ~~~~ */

View File

@ -2296,7 +2296,6 @@ html .powercord-updater .debug-info b {
#server-search .wrapper-25eVIn:hover {
background-color: rgb(var(--vaccentcolor)) !important;
}
/* ---- 15.5. CHANNELTABS ---- */
.channelTabs-unreadBadge:not(.channelTabs-noUnread) {

View File

@ -173,6 +173,7 @@ html {
14. PLUGINSUPPORT
1. MEMBERCOUNT
2. CHANNELTABS
3. TYPINGINDICATOR
*/
@ -4641,6 +4642,25 @@ html .channelTabs-newTab:hover {
color: var(--interactive-active);
}
/* ---- 14.3. TYPINGINDICATOR ---- */
html .typingindicator-guild,
html .typingindicator-dms,
html .typingindicator-folder {
background: var(--background-tertiary);
border: 4px solid var(--background-tertiary);
border-right: unset;
box-shadow: unset;
right: 12px;
bottom: -5px;
padding: 2px 0;
}
html .wrapper-3Njo_c .typingindicator-guild,
html .typingindicator-folder {
background: var(--background-secondary);
border-color: var(--background-secondary);
}
/* ~~~~ 14. WATERMARK ~~~~ */