Skip to content
Snippets Groups Projects
Commit 3a3d1ba3 authored by Levatax's avatar Levatax
Browse files

User İnformation

parent aa12cec3
No related branches found
No related tags found
No related merge requests found
Pipeline #33 canceled
const Discord = require('discord.js');
const client = new Discord.Client();
const settings = require('../settings.json');
exports.run = (client, message , args) => {
let user = message.guild.member(message.mentions.users.first()) || message.guild.member(args[0]);
client.users.get(user);
const embed = new Discord.RichEmbed()
.setColor(0x00AE86)
.setTitle("User İnformation")
.setTimestamp()
.addField('User:',`<@${user.id}>`)
.addField('User ID:', `${user.id}`)
.addField('Created At:', `${user.createdAt}`)
.addField('Last Message:', `${user.lastMessage}`);
return message.channel.send(embed);
};
exports.conf = {
enabled: true,
guildOnly: false,
aliases: [],
permLevel: 0
};
exports.help = {
name: 'whois',
description: 'take information about users',
usage: '-whois @mention'
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment