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); const perms = voice.permissionsFor(this.client.user);
if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT"); if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT");
// "awkword" - disabled
const activities = ["awkword", "betrayal", "checkers", "chess", "doodlecrew", "fishing", "lettertile", "poker", "spellcast", "wordsnack", "youtube"]; const activities = ["betrayal", "checkers", "chess", "doodlecrew", "fishing", "lettertile", "poker", "spellcast", "wordsnack", "youtube"];
const activity = args[0]; const activity = args[0];
switch (activity) { switch (activity) {
case "awkword": // Disabled for now
this.client.discordTogether.createTogetherCode(message.member.voice.channelID, "awkword").then(async invite => { // case "awkword":
const embed = new Discord.MessageEmbed() // this.client.discordTogether.createTogetherCode(message.member.voice.channelID, "awkword").then(async invite => {
.setTitle("Awkword") // const embed = new Discord.MessageEmbed()
.setColor(data.config.embed.color) // .setTitle("Awkword")
.setDescription(`**[${message.translate("misc:CLICK_HERE", { activity: "Awkword", channel: voice.name })}](${invite.code})**`) // .setColor(data.config.embed.color)
.setFooter(message.translate("general/activity:FOOTER")) // .setDescription(`**[${message.translate("misc:CLICK_HERE", { activity: "Awkword", channel: voice.name })}](${invite.code})**`)
.setTimestamp() // .setFooter(message.translate("general/activity:FOOTER"))
return message.channel.send(embed); // .setTimestamp()
}); // return message.channel.send(embed);
break; // });
// break;
case "betrayal": case "betrayal":
this.client.discordTogether.createTogetherCode(message.member.voice.channelID, "betrayal").then(async invite => { this.client.discordTogether.createTogetherCode(message.member.voice.channelID, "betrayal").then(async invite => {