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);
|
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 => {
|
||||||
|
|
Loading…
Reference in a new issue