codeBlock
codeBlock(
text,language?):string
Defined in: packages/formatters/src/index.ts:81
Wraps text in a Discord fenced code block.
Parameters
Section titled “Parameters”string
Code content.
language?
Section titled “language?”string = ""
Optional language identifier for syntax highlighting.
Returns
Section titled “Returns”string