diff --git a/commands/General/activity.js b/commands/General/activity.js index 60fe7446..c499458a 100644 --- a/commands/General/activity.js +++ b/commands/General/activity.js @@ -62,6 +62,8 @@ class Activity extends Command { break; case "checkers": + if (message.guild.PremiumTier === "NONE") return message.error("general/activity:NO_BOOST"); + this.client.discordTogether.createTogetherCode(message.member.voice.channelId, "checkers").then(async invite => { const embed = new Discord.MessageEmbed() .setTitle("Checkers In The Park") @@ -78,6 +80,8 @@ class Activity extends Command { break; case "chess": + if (message.guild.PremiumTier === "NONE") return message.error("general/activity:NO_BOOST"); + this.client.discordTogether.createTogetherCode(message.member.voice.channelId, "chess").then(async invite => { const embed = new Discord.MessageEmbed() .setTitle("Chess In The Park") @@ -110,6 +114,8 @@ class Activity extends Command { break; case "ocho": + if (message.guild.PremiumTier === "NONE") return message.error("general/activity:NO_BOOST"); + this.client.discordTogether.createTogetherCode(message.member.voice.channelId, "ocho").then(async invite => { const embed = new Discord.MessageEmbed() .setTitle("Ocho") @@ -158,6 +164,8 @@ class Activity extends Command { break; case "poker": + if (message.guild.PremiumTier === "NONE") return message.error("general/activity:NO_BOOST"); + this.client.discordTogether.createTogetherCode(message.member.voice.channelId, "poker").then(async invite => { const embed = new Discord.MessageEmbed() .setTitle("Poker Night") @@ -174,6 +182,8 @@ class Activity extends Command { break; case "spellcast": + if (message.guild.PremiumTier === "NONE") return message.error("general/activity:NO_BOOST"); + this.client.discordTogether.createTogetherCode(message.member.voice.channelId, "spellcast").then(async invite => { const embed = new Discord.MessageEmbed() .setTitle("Spell Cast") diff --git a/languages/ru-RU/general/activity.json b/languages/ru-RU/general/activity.json index 0a9e49b6..039ccc04 100644 --- a/languages/ru-RU/general/activity.json +++ b/languages/ru-RU/general/activity.json @@ -3,5 +3,6 @@ "USAGE": "{{prefix}}activity (активность)", "EXAMPLES": "{{prefix}}activity\n{{prefix}}activity chess", "TITLE": "Список доступных активностей", - "FOOTER": "JaBa | Discord Together" + "FOOTER": "JaBa | Discord Together", + "NO_BOOST": "Необходим первый уровень буста или выше!" } \ No newline at end of file diff --git a/languages/uk-UA/general/activity.json b/languages/uk-UA/general/activity.json index 0a9e49b6..039ccc04 100644 --- a/languages/uk-UA/general/activity.json +++ b/languages/uk-UA/general/activity.json @@ -3,5 +3,6 @@ "USAGE": "{{prefix}}activity (активность)", "EXAMPLES": "{{prefix}}activity\n{{prefix}}activity chess", "TITLE": "Список доступных активностей", - "FOOTER": "JaBa | Discord Together" + "FOOTER": "JaBa | Discord Together", + "NO_BOOST": "Необходим первый уровень буста или выше!" } \ No newline at end of file