const { SlashCommandBuilder, EmbedBuilder, Guild } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('info')
.setDescription('Information on the Server.'),
async execute(interaction) {
const serverEmbed = new EmbedBuilder ()
.setTitle(`${Guild.name}`)
.setColor('Random')
.setThumbnail(iconURL)
await interaction.reply({ embeds: [serverEmbed] });
}
}
const { SlashCommandBuilder, EmbedBuilder, Guild } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('info')
.setDescription('Information on the Server.'),
async execute(interaction) {
const serverEmbed = new EmbedBuilder ()
.setTitle(`${Guild.name}`)
.setColor('Random')
.setThumbnail(iconURL)
await interaction.reply({ embeds: [serverEmbed] });
}
}