Open ghost opened 8 years ago
This woud be rather unnecessary because of the markdown Discord supports nativly.
Take a look here
Make it yourself, OK?
The problem with making this a command is that to get the fidelity on how you want to send code, you are basically specifying details to the same level of using ```
or ``
in a sendMessage command anyway.
Feature request for a .sendMessage() clone that will send contents as a code block.
channel.sendCode(content | Array, format)
E.g. channel.sendCode('Hello World', 'xl');