mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
feat: show premium badge on system/member/group cards
This commit is contained in:
parent
a6941cea08
commit
84e98450e0
2 changed files with 21 additions and 6 deletions
|
|
@ -89,9 +89,9 @@ public class Context
|
|||
}
|
||||
|
||||
public string PremiumEmoji => (Config?.PremiumLifetime ?? false)
|
||||
? ($"<:lifetime_premium:{_botConfig.PremiumLifetimeEmoji}>" ?? "\u2729")
|
||||
? (_botConfig.PremiumLifetimeEmoji != null ? $"<:lifetime_premium:{_botConfig.PremiumLifetimeEmoji}>" : "\u2729")
|
||||
: Premium
|
||||
? ($"<:premium_subscriber:{_botConfig.PremiumSubscriberEmoji}>" ?? "\u2729")
|
||||
? (_botConfig.PremiumSubscriberEmoji != null ? $"<:premium_subscriber:{_botConfig.PremiumSubscriberEmoji}>" : "\u2729")
|
||||
: "";
|
||||
|
||||
public readonly string CommandPrefix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue