Typescript command loader cb doesn't allow parameters
lntel opened this issue · comments
Joseph Harris commented
import { LoadedCommand } from 'quickcord'
const ping = (e: any) => {
console.log(e)
}
const pingCommand: LoadedCommand = {
aliases: 'ping',
cb: ping,
options: {
autoDelete: true
}
}
export default pingCommand;