First commit for dscrdbt

This commit is contained in:
2025-04-15 16:15:56 -06:00
commit 11a100eacf
13 changed files with 482 additions and 0 deletions

13
commands/utility/ping.js Normal file
View File

@@ -0,0 +1,13 @@
const { SlashCommandBuilder, MessageFlags } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction) {
await interaction.reply({
content: 'Secret Pong!',
flags: MessageFlags.Ephemeral
});
},
};

View File

@@ -0,0 +1,11 @@
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.`);
},
};

11
commands/utility/user.js Normal file
View File

@@ -0,0 +1,11 @@
const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('user')
.setDescription('Provides information about the user.'),
async execute(interaction) {
await interaction.reply(`This command was run by ${interaction.user.username},
who joined on ${interaction.member.joinedAt}.`);
},
};