summaryrefslogtreecommitdiff
path: root/commands/vainsocial/matches.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/vainsocial/matches.js')
-rw-r--r--commands/vainsocial/matches.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/commands/vainsocial/matches.js b/commands/vainsocial/matches.js
new file mode 100644
index 0000000..2660d73
--- /dev/null
+++ b/commands/vainsocial/matches.js
@@ -0,0 +1,34 @@
+#!/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 ShowMatchesCommand extends Commando.Command {
+ constructor(client) {
+ super(client, {
+ name: "vainsocial-history",
+ aliases: ["vh"],
+ group: "vainsocial",
+ memberName: "vainsocial-matches",
+ description: "Show a user's match history.",
+ details: oneLine`
+ todo
+ `,
+ examples: ["vh shutterfly"],
+ argsType: "single",
+
+ args: [ {
+ key: "name",
+ label: "name",
+ prompt: "Please specify your in game name (Case Sensitive).",
+ type: "string"
+ } ]
+ });
+ }
+ async run(msg, args) {
+ await responses.showMatches(msg, args);
+ }
+};