- Spany#6964
- Katılım
- 7 Nis 2022
- Mesajlar
- 43
- Tepkime puanı
- 16
- Şehir
- İstanbul
JavaScript:
const { MessageEmbed } = require('discord.js')
const config = require("../botconfig/main.json")
module.exports = {
name: "help", // Komut Adı
description: "Shows the bot's commands", // Komut Açıklaması
type: 'CHAT_INPUT',
run: async (client, interaction, args) => {
const mirai = new MessageEmbed()
.setColor(config.embedColor)
.setThumbnail(config.embedThumbnail)
.setFooter({text: config.embedFooter})
.setAuthor({name: "MiraiBot - Help", iconURL: config.embedThumbnail})
.setDescription(`
> \`\` Hello Mirai Bot users, thank you for using and choosing our bot. The necessary information is below.
➜ **Prefix**: \`/ (Slash)\`
➜ **Language**: \`English\`
`)
interaction.reply({embeds: [mirai]})
},
};