This commit is contained in:
JonnyBro 2021-12-25 16:45:25 +05:00
parent 2fcf6c415e
commit 6f4e6db94b

View file

@ -172,16 +172,6 @@ class Activity extends Command {
}); });
break; break;
case "list":
const embed = new Discord.MessageEmbed()
.setTitle(message.translate("general/activity:TITLE"))
.setDescription(activities.join("\n"))
.setColor(data.config.embed.color)
.setFooter(message.translate("general/activity:FOOTER"))
.setTimestamp()
return message.channel.send(embed);
break;
default: default:
const embed = new Discord.MessageEmbed() const embed = new Discord.MessageEmbed()
.setTitle(message.translate("general/activity:TITLE")) .setTitle(message.translate("general/activity:TITLE"))
@ -189,7 +179,7 @@ class Activity extends Command {
.setColor(data.config.embed.color) .setColor(data.config.embed.color)
.setFooter(message.translate("general/activity:FOOTER")) .setFooter(message.translate("general/activity:FOOTER"))
.setTimestamp() .setTimestamp()
return message.channel.send(embed); message.channel.send(embed);
break; break;
}; };
} }