Skip to content

Commit

Permalink
Update help.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arshsisodiya authored Oct 27, 2021
1 parent 2f461c7 commit 99824df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
const execute = async (client,msg,args) => {
msg.delete(true);
let commands = client.commands;
if(!args.length){
if(.args.length){
let adminHelp = '🔱 *Administration*\n\n';
let infoHelp = '🔱 *Info*\n\n';
let pluginHelp = '🔱 *Plugins*\n\n';
commands.forEach((command) => {
if(!command.isDependent){
if(.command.isDependent){
if(command.commandType === 'admin')
adminHelp += `⭐ *${command.name} (${command.command})* - ${command.description}\n`;
if(command.commandType === 'info')
Expand Down

0 comments on commit 99824df

Please sign in to comment.