Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 844 Bytes

removing-the-unknown-command-response.md

File metadata and controls

27 lines (20 loc) · 844 Bytes

Unknown Command Response Removal

Sometimes, you may want to remove the (somewhat annoying) unknown command response from your bot. Be it Cleverbot or other reason, sometimes you just want it gone, and it's quite simple to remove.

Head over to your index.js file and find your client. We're going to be adding a new setting here.

const client = new commando.Client({
    commandPrefix: '<Insert Your Prefix Here>',
    owner: '<Insert Your User ID Here>',
    disableEveryone: true
});

All you have to do to remove the unknown command response is set unknownCommandResponse to false.

const client = new commando.Client({
    commandPrefix: '<Insert Your Prefix Here>',
    owner: '<Insert Your User ID Here>',
    disableEveryone: true,
    unknownCommandResponse: false
});

And that's all there is to it.