discord_bot/commands/image/achievement.js

17 lines
471 B
JavaScript
Raw Normal View History

const { MessageEmbed } = require("discord.js");
module.exports = {
name: "achievement",
description: "Gibt dir eine Errungenschaft",
aliases: ["ach"],
category: "Image",
run: async (client, message, args) => {
const text = args.join("+");
const e = new MessageEmbed()
.setTitle("Minecraft-Erfolg!")
.setImage(
`https://minecraftskinstealer.com/achievement/12/Achievement%20Get!/${text}`
);
message.channel.send(e);
},
};