skopa/commands/utility/server.js

11 lines
388 B
JavaScript

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}**! ;>`);
},
};