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[]}

Top comments (0)

Hacktoberfest is happening now!

It is a month-long celebration of open source. For a lot of devs, its their introduction to open source.

Check out the Hacktoberfest tag on DEV to keep up with the latest!