misc(serverinfo): changed the name of the server command to serverinfo

This commit is contained in:
Seaswimmer 2023-08-21 20:19:10 -04:00
parent 6e2af93db4
commit 8c4fc5426f
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

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