mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
awkword disable
This commit is contained in:
parent
8e991d858b
commit
da42ec9374
1 changed files with 14 additions and 13 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue