mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 14:55:40 +02:00
Beep
This commit is contained in:
@@ -30,6 +30,7 @@ module.exports = class RandomPersonCommand extends Command {
|
||||
.get('https://randomuser.me/api/')
|
||||
.query({
|
||||
gender,
|
||||
nat: 'us,gb,au',
|
||||
noinfo: ''
|
||||
});
|
||||
const data = body.results[0];
|
||||
@@ -41,15 +42,13 @@ module.exports = class RandomPersonCommand extends Command {
|
||||
.addField('❯ Last Name',
|
||||
data.name.last.toUpperCase(), true)
|
||||
.addField('❯ Title',
|
||||
data.name.title.toUpperCase(), true)
|
||||
`${data.name.title.toUpperCase()}.`, true)
|
||||
.addField('❯ Gender',
|
||||
data.gender.toUpperCase(), true)
|
||||
.addField('❯ Username',
|
||||
data.login.username, true)
|
||||
.addField('❯ Password',
|
||||
data.login.password, true)
|
||||
.addField('❯ Email',
|
||||
data.email, true)
|
||||
.addField('❯ Phone',
|
||||
data.phone, true)
|
||||
.addField('❯ Cell',
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "42.7.0",
|
||||
"version": "42.7.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Shard.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user