discordie icon indicating copy to clipboard operation
discordie copied to clipboard

Feature request for .sendCode()

Open ghost opened this issue 8 years ago • 3 comments

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');

ghost avatar Sep 11 '16 14:09 ghost

This woud be rather unnecessary because of the markdown Discord supports nativly.

Take a look here

KeineLimonade avatar Nov 08 '16 20:11 KeineLimonade

Make it yourself, OK?

TTtie avatar Nov 22 '16 18:11 TTtie

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.

Ryu945 avatar Feb 13 '17 19:02 Ryu945