Base Setup for Discord Bot.

This commit is contained in:
2025-01-24 14:09:45 +01:00
commit 11399ebfe0
9 changed files with 2953 additions and 0 deletions
+10
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.`);
},
};