server: commit initial file

This commit is contained in:
Seaswimmer 2023-08-21 11:27:35 -04:00
parent 896e437766
commit 880a9a0aa3
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

10
commands/server.js Normal file
View file

@ -0,0 +1,10 @@
const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('server')
.setDescription('Provides information about the server.'),
async execute(interaction) {
await interaction.reply(`This server is ${interaction.guild.name} and has ${interaction.guild.memberCount} members.`);
},
};