mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Switch github stargazer to voting on DBLorg
This commit is contained in:
@ -213,7 +213,7 @@ nav .brand-logo {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#chatcontent .chatusername.stargazer {
|
||||
#chatcontent .chatusername.discordbotsorgvoted {
|
||||
text-shadow: 2px 2px 10px yellow;
|
||||
}
|
||||
|
||||
@ -883,7 +883,7 @@ p.mentioned span.chatmessage {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#usercard .badges .star {
|
||||
#usercard .badges .discordbotsorgvoted {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
(function () {
|
||||
const theme_options = ["DiscordDark", "MetroEdge", "BetterTitan"]; // All the avaliable theming names
|
||||
const badges_options = ["administrator", "partner", "supporter", "star"]; // All badges avaliable
|
||||
const badges_options = ["administrator", "partner", "supporter", "discordbotsorgvoted"]; // All badges avaliable
|
||||
|
||||
var user_def_css; // Saves the user defined css
|
||||
var has_already_been_initially_resized = false; // keep track if the embed initially been resized
|
||||
@ -1249,8 +1249,8 @@
|
||||
} else {
|
||||
parent.find(".chatusername").css("color", null);
|
||||
}
|
||||
if (usr.stargazer) {
|
||||
parent.find(".chatusername").addClass("stargazer");
|
||||
if (usr.discordbotsorgvoted) {
|
||||
parent.find(".chatusername").addClass("discordbotsorgvoted");
|
||||
}
|
||||
if (usr.avatar_url) {
|
||||
parent.find(".authoravatar").prop("src", usr.avatar_url);
|
||||
|
Reference in New Issue
Block a user