Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as Discord from "discord.js";
- import { IBotCommand } from "../api";
- export default class testCommand implements IBotCommand {
- private readonly _command = "testCommand"
- help(): string {
- return "This command is a piece of crap to be honest. Good luck using it.";
- }
- isThisCommand(command: string): boolean {
- return command === this._command;
- }
- async runCommand(args: string[], msgObject: Discord.Message, client: Discord.Client): Promise<void> {
- //Let us know it all went well!
- msgObject.channel.send("Hi big daddy, this command is working. DEV ONLY! DON'TRY IF YOU AINT A DEV")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement