fixed boost tier bug

This commit is contained in:
Aayu5h 2023-02-14 21:06:20 +05:30 committed by GitHub
parent e212e5a93c
commit 6424a26a59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,10 +28,10 @@ module.exports = async (client, interaction, args) => {
}
let tier = {
"TIER_1": `1`,
"TIER_2": `2`,
"TIER_3": `3`,
"NONE": `0`,
"0": "None",
"1": "TIER 1",
"2": "TIER 2",
"3": "**TIER 3**"
}
const members = await interaction.guild.members.fetch();
@ -64,7 +64,7 @@ module.exports = async (client, interaction, args) => {
},
{
name: "Boost tier: ",
value: `Tier ${tier[interaction.guild.premiumTier] || 'None'}`,
value: `${tier[interaction.guild.premiumTier]}`,
inline: true
},
{