10 lines
374 B
JavaScript
Raw Normal View History

2023-11-17 23:24:32 +00:00
const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('server')
.setDescription('Provides information about the server.'),
async execute(interaction) {
2023-11-17 23:28:36 +00:00
await interaction.reply(`This server is ${interaction.guild.name} and has ${interaction.guild.memberCount} members.`);
2023-11-17 23:24:32 +00:00
},
};