//META{"name":"EmojiStatistics","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/EmojiStatistics","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/EmojiStatistics/EmojiStatistics.plugin.js"}*//
class EmojiStatistics {
getName () {return "EmojiStatistics";}
getVersion () {return "2.8.6";}
getAuthor () {return "DevilBro";}
getDescription () {return "Adds some helpful options to show you more information about emojis and emojiservers.";}
constructor () {
this.changelog = {
"fixed":[["Light Theme Update","Fixed bugs for the Light Theme Update, which broke 99% of my plugins"]]
};
this.labels = {};
this.patchModules = {
"EmojiPicker":"componentDidMount"
};
}
initConstructor () {
this.css = `
.${this.name}-modal .titles {
height: 20px;
}
.${this.name}-modal .emojiserver-entry {
height: 50px;
padding-top: 5px;
padding-bottom: 5px;
}
.${this.name}-modal .titles-entry .title-label,
.${this.name}-modal .emojiserver-entry .emojiserver-label {
font-size: 12px;
font-weight: 600;
overflow: hidden;
text-transform: uppercase;
}
.${this.name}-modal .titles-entry .sorttitle-label {
cursor: pointer;
}
.${this.name}-modal .titles-entry .sorttitle-label,
.${this.name}-modal .emojiserver-entry .emojiserver-label {
margin-left: 10px;
text-align: center;
width: 122px;
}
.${this.name}-modal .titles-entry .titlesname-label,
.${this.name}-modal .emojiserver-entry .emojiname-label {
text-align: left;
white-space: no-wrap;
width: 300px;
}
.${this.name}-modal .titles-entry .titlesicon-label,
.${this.name}-modal .emojiserver-entry .emojiserver-icon {
text-align: center;
width: 48px;
}
.emojistatistics-button {
background-image: url("/assets/f24711dae4f6d6b28335e866a93e9d9b.png");
background-position: -770px -374px;
background-size: 924px 704px;
cursor: pointer;
height: 22px;
margin-right: 10px;
width: 22px;
}`;
this.emojiInformationModalMarkup =
`
REPLACE_modal_header_text