2023-08-21 11:27:35 -04:00
|
|
|
const { SlashCommandBuilder } = require('discord.js');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
data: new SlashCommandBuilder()
|
2023-08-21 20:19:10 -04:00
|
|
|
.setName('serverinfo')
|
2023-08-21 11:27:35 -04:00
|
|
|
.setDescription('Provides information about the server.'),
|
|
|
|
async execute(interaction) {
|
|
|
|
await interaction.reply(`This server is ${interaction.guild.name} and has ${interaction.guild.memberCount} members.`);
|
|
|
|
},
|
|
|
|
};
|