bridge boost messages properly

This commit is contained in:
Jan 2022-11-17 18:22:21 +01:00
parent 6449ff3a2e
commit 26728602b5
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -518,6 +518,9 @@ async function renderSystemMessage(
"\\*"
)}** joined the server`;
case "USER_PREMIUM_GUILD_SUBSCRIPTION":
case "USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1":
case "USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2":
case "USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3":
return `:01GJ39CX4H8KJEFF63ZT744S24: **${message.author.username.replace(
/\*/g,
"\\*"