A api sender to discord, more good mean: This module allows you to create cool discord bots
npm install discord-gobash
npm i disxcord
`
After installing the depencedie, your index.js should be like this:
`javascript
//Imports
const { DiscordGo, EventBuilder } = require("discord-go")
//Setup Discord.js(DiscordGo) client
const client = new DiscordGo({
events: ["All"],
intents: ["All"]
})
client.start("YourBotToken", false, "name") //Returns client's username
client.basicCommand({
name: "ping", //Basic command name
code: $replyAuthorMessage(message, "pong!"), //Basic Command's code
prefixed: true,
commandprefix: "+" //If prefixed false leave that empty
});
client.setStatus("idle") //idle, dnd, online
client.setActivity("Boosted by disxcord", "PLAYING") //PLAYING, STREAMING, COMPETING, LISTENING
``