skopa/commands/utility/server.js

11 lines
388 B
JavaScript
Raw Normal View History

2023-12-17 20:21:26 -05:00
const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('server')
.setDescription('Prints server info'),
async execute(interaction) {
await interaction.reply(`You are in **${interaction.guild.name}**, with **${interaction.guild.memberCount}** members, including yourself, **${interaction.user.username}**! ;>`);
},
};