misc(serverinfo): changed the name of the server command to serverinfo
This commit is contained in:
parent
6e2af93db4
commit
8c4fc5426f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ const { SlashCommandBuilder } = require('discord.js');
|
|||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('server')
|
||||
.setName('serverinfo')
|
||||
.setDescription('Provides information about the server.'),
|
||||
async execute(interaction) {
|
||||
await interaction.reply(`This server is ${interaction.guild.name} and has ${interaction.guild.memberCount} members.`);
|
Loading…
Reference in a new issue