lntel / Quickcord

Quickcord is a Discord.js wrapper which integrates express frameworks simplicity to enable you to quickly and easily set up a Discord bot with minimal effort.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript command loader cb doesn't allow parameters

lntel opened this issue · comments

import { LoadedCommand } from 'quickcord'

const ping = (e: any) => {
    console.log(e)
}

const pingCommand: LoadedCommand  = {
    aliases: 'ping',
    cb: ping,
    options: {
        autoDelete: true
    }
}

export default pingCommand;