1

Is there any possible way to make the discord commando send a message in chat instead of dm's when doing the !help command for example.

I want to keep it with commando framework since it's easy to make commands with it and I like how you can do !help "command" and get details about that one command, but what I don't like is that it sends it all in to your dm's, and I want to have it in my discord server and some people have their dm's off too which is another problem. Is there any way to make it so that it sends in the normal chat instead?

Rdimo
  • 378
  • 2
  • 14

2 Answers2

1

Try to disable built in help command follow the docs and build your own help commands In case you need help commands source of commando is here


bot.registry
  .registerDefaultTypes()
  .registerDefaultGroups()
  .registerDefaultCommands({
    help: true,
    prefix: false,
    eval: false,
    ping: true,
    commandState: false,
    unknownCommand: false
  });
HellCatVN
  • 866
  • 1
  • 6
  • 11
0

Obviously you can specify the channel to send the command in (DM is a channel too). The fact that you ask this question implies you have just started learning coding / using discord.js.

Stack Overflow is not your personal Google / won't write code for you, come back once you have actual questions (read this to learn how to make good questions related to this site).

Enjoy your coding!

KifoPL
  • 981
  • 7
  • 18