diff --git a/src/commands/see.command.ts b/src/commands/see.command.ts index 132b89b..fcd6ae7 100644 --- a/src/commands/see.command.ts +++ b/src/commands/see.command.ts @@ -1,14 +1,22 @@ import { command } from '@/core/commands' -import Discord from 'discord.js' export default command({ command: 'see', aliases: ['s'], description: 'See your username and ID', examples: ['`!s`'], - async execute(message: Discord.Message): Promise { + async execute(message) { return message.author.send( - `Server: ${message.guild!.name}\nYour username: ${message.author.username}\nYour ID: ${message.author.id}`, + [ + '**Server info:**', + `ID: ${message.guild!.id}`, + `Name: ${message.guild!.name}`, + '', + '**Your info:**', + `ID: ${message.author.id}`, + `Username: ${message.author.username}`, + `Nickname: ${message.member?.nickname ?? 'Unknown'}`, + ].join('\n'), ) }, })