From da42ec937472fdbe9d747e478f496b0a75ee64e9 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 22 Dec 2021 17:41:41 +0500 Subject: [PATCH] awkword disable --- commands/General/activity.js | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/commands/General/activity.js b/commands/General/activity.js index cc94a34d..54b8f94c 100644 --- a/commands/General/activity.js +++ b/commands/General/activity.js @@ -23,22 +23,23 @@ class Activity extends Command { const perms = voice.permissionsFor(this.client.user); if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT"); - - const activities = ["awkword", "betrayal", "checkers", "chess", "doodlecrew", "fishing", "lettertile", "poker", "spellcast", "wordsnack", "youtube"]; + // "awkword" - disabled + const activities = ["betrayal", "checkers", "chess", "doodlecrew", "fishing", "lettertile", "poker", "spellcast", "wordsnack", "youtube"]; const activity = args[0]; switch (activity) { - case "awkword": - this.client.discordTogether.createTogetherCode(message.member.voice.channelID, "awkword").then(async invite => { - const embed = new Discord.MessageEmbed() - .setTitle("Awkword") - .setColor(data.config.embed.color) - .setDescription(`**[${message.translate("misc:CLICK_HERE", { activity: "Awkword", channel: voice.name })}](${invite.code})**`) - .setFooter(message.translate("general/activity:FOOTER")) - .setTimestamp() - return message.channel.send(embed); - }); - break; + // Disabled for now + // case "awkword": + // this.client.discordTogether.createTogetherCode(message.member.voice.channelID, "awkword").then(async invite => { + // const embed = new Discord.MessageEmbed() + // .setTitle("Awkword") + // .setColor(data.config.embed.color) + // .setDescription(`**[${message.translate("misc:CLICK_HERE", { activity: "Awkword", channel: voice.name })}](${invite.code})**`) + // .setFooter(message.translate("general/activity:FOOTER")) + // .setTimestamp() + // return message.channel.send(embed); + // }); + // break; case "betrayal": this.client.discordTogether.createTogetherCode(message.member.voice.channelID, "betrayal").then(async invite => {