From 80951013e391aab140800e4f386867e6c391553f Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Sat, 27 Jun 2020 22:52:54 -0700 Subject: add ts defs so not a lot of errors left - made .todo file for epic error tracking --- src/commands/user/nitro.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/commands/user/nitro.ts') diff --git a/src/commands/user/nitro.ts b/src/commands/user/nitro.ts index 1302a0a..a54eb38 100644 --- a/src/commands/user/nitro.ts +++ b/src/commands/user/nitro.ts @@ -1,9 +1,10 @@ -import { Command, CommandoMessage } from 'discord.js-commando'; +import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; import { MessageEmbed } from 'discord.js'; +//@ts-ignore no types import { stripIndents } from 'common-tags' module.exports = class NitroUser extends Command { - constructor(client) { + constructor(client: CommandoClient) { super(client, { name: 'nitro', group: 'user', @@ -25,6 +26,6 @@ module.exports = class NitroUser extends Command { .setDescription(stripIndents` This message can only be viewed by users with Discord Nitro. [Lift off with Discord Nitro today](https://discordapp.com/nitro)`) - msg.say(emb) + return msg.say(emb) } }; \ No newline at end of file -- cgit v1.2.3