aXises/fortniteBot

View on GitHub
src/command/modules/interactions/UseOn.ts

Summary

Maintainability
A
30 mins
Test Coverage
import ExecutableCommand from "command/ExecutableCommand";
import { AccessLevel } from "user/AccessLevel";
import Action from "action/Action";
import OnMessageState from "state/OnMessageState";
import DBGuildPropertySchema from "database/schemas/DBGuildPropertySchema";

export default class UseOn extends ExecutableCommand {
    public constructor() {
        super({
            commandString: "useon",
            accessLevel: AccessLevel.UNREGISTERED,
            argLength: 2,
            description: "Use item on another user.",
            usage: "!f useon [itemName] [target]",
        });
    }
    public setCustomAction(): Action {
        return new Action(async (state: OnMessageState, args: string[]): Promise<boolean> => {
            return true;
        });
    }
}