discord-go
v1.0.2
Published
A api sender to discord, more good mean: This module allows you to create cool discord bots
Downloads
22
Maintainers
Readme
DiscordGo
Docs not here yet... But you can check functions & classes!
Disxcord's Client
What is oxclient? Disxcord, like discord.js or aoi.js. Disxcord and oxclient-discordapi is a api request sender to create bots(useful bots)
Used languages
Node.js - 1(used 1st) | discord.js - 2(used 2st)
Setup
npm i disxcord
After installing the depencedie, your index.js should be like this:
//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
Credits
@frexinn: "messageCreate" event, "getChannelPropertie" function, "getRolePropertie" function, "embed" class. | @layslover: Setups and functions
Websites
Support server(discord): Discord