awkword disable

This commit is contained in:
JonnyBro 2021-12-22 17:41:41 +05:00
parent 8e991d858b
commit da42ec9374

View file

@ -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 => {