22 lines
825 B
TypeScript
22 lines
825 B
TypeScript
import { Message, PermissionResolvable } from "discord.js";
|
|
import { Command } from "./command";
|
|
|
|
export class InstructionsCommand implements Command {
|
|
name = 'instructions'
|
|
aliases = []
|
|
description = 'Described how to use the bot'
|
|
usage = 'instructions'
|
|
permission = []
|
|
guildOnly = false
|
|
ownerOnly = false
|
|
args = []
|
|
|
|
async execute(msg: Message) {
|
|
msg.channel.send(`Here's a list of commands:
|
|
\`/roll\`: Roll a new unit. You need points to roll. You earn points simply by being in the server.
|
|
\`/list\`: View all of your current units.
|
|
\`/equip\`: Equip a unit to use them in battles. Choose the numbered slot (1, 2, or 3) and the ID of the unit to equip.
|
|
\`/challenge\`: Challenge somebody to a battle. Select somebody to challenge. Both players must have units in all 3 slots.`)
|
|
}
|
|
};
|