TheOchulus/commands/testing/server.js

10 lines
374 B
JavaScript
Raw Normal View History

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