import MessageHandler from '../../Handlers/MessageHandler'
import BaseCommand from '../../lib/BaseCommand'
import WAClient from '../../lib/WAClient'
import request from '../../lib/request'
import { MessageType } from '@adiwajshing/baileys'
import { ICommand, IParsedArgs, ISimplifiedMessage } from '../../typings'
export default class Command extends BaseCommand {
constructor(client: WAClient, handler: MessageHandler) {
super(client, handler, {
command: 'help',
description: 'Displays the help menu or shows the info of the command provided',
category: 'general',
usage: ${client.config.prefix}help (command_name),
dm: true,
aliases: ['h']
})
}
import MessageHandler from '../../Handlers/MessageHandler' import BaseCommand from '../../lib/BaseCommand' import WAClient from '../../lib/WAClient' import request from '../../lib/request' import { MessageType } from '@adiwajshing/baileys'
import { ICommand, IParsedArgs, ISimplifiedMessage } from '../../typings'
export default class Command extends BaseCommand { constructor(client: WAClient, handler: MessageHandler) { super(client, handler, { command: 'help', description: 'Displays the help menu or shows the info of the command provided', category: 'general', usage:
${client.config.prefix}help (command_name)
, dm: true, aliases: ['h'] }) }}