This repository has been archived by the owner on Feb 9, 2021. It is now read-only.
v1.3.2
Release Notes
Removed Client.getCommands() and made property commands
usage
//previous version
const slash = new Slash.Client(client, config);
console.log(slash.getCommands());
//new version
const slash = new Slash.Client(client, config);
console.log(slash.commands);
Changed Client.deleteCommand()
changed constructor guildObject to guildID
usage
//previous version
const slash = new Slash.Client(client, config);
let guild = client.guilds.cache.get(guild_id_here);
slash.deleteCommand(guild, commandID);
//new version
const slash = new Slash.Client(client, config);
slash.deleteCommand(guildID, commandID);