mirror of
https://github.com/chenasraf/venom.git
synced 2026-05-17 17:28:08 +00:00
feat: update !see output
This commit is contained in:
@@ -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<Discord.Message> {
|
||||
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'),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user