Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Vovex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Levatax
Vovex
Commits
3a3d1ba3
Commit
3a3d1ba3
authored
Feb 21, 2020
by
Levatax
Browse files
Options
Downloads
Patches
Plain Diff
User İnformation
parent
aa12cec3
No related branches found
No related tags found
No related merge requests found
Pipeline
#33
canceled
Feb 21, 2020
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
commands/whois.js
+30
-0
30 additions, 0 deletions
commands/whois.js
with
30 additions
and
0 deletions
commands/whois.js
0 → 100644
+
30
−
0
View file @
3a3d1ba3
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
'
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment