DEV Community

Anup Bhattarai
Anup Bhattarai

Posted on

How to use syntax highlighting for code Blocks for Bot in discord.js (v13)?

I am trying to make a terminal accessible in the discord using the bot. The code for this command is :

const { Client, Message, MessageEmbed } = require("discord.js")
const child = require("child_process");

module.exports = {
  name: "terminal",
   * @param {Client} client
   * @param {Message} message
   * @param {String[]}

Discussion (0)