1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/usr/bin/node
/* jshint esnext:true */
"use strict";
const Commando = require("discord.js-commando"),
oneLine = require("common-tags").oneLine,
responses = require("../../responses");
module.exports = class ShowUserCommand extends Commando.Command {
constructor(client) {
super(client, {
name: "vainsocial-user",
aliases: ["v", "vu"],
group: "vainsocial",
memberName: "vainsocial-user",
description: "Shows a player\'s profile.",
details: oneLine`
Display VainSocial lifetime statistics from Vainglory
`,
examples: ["vu shutterfly"],
args: [ {
key: "name",
label: "name",
prompt: "Please specify your in game name (Case Sensitive).",
type: "string",
default: "?",
min: 3,
max: 16
} ]
});
}
async run(msg, args) {
await responses.showUser(msg, args);
}
};
|