Docs not here yet... But you can check functions & classes!
What is oxclient? Disxcord, like discord.js or aoi.js. Disxcord and oxclient-discordapi is a api request sender to create bots(useful bots)
Node.js - 1(used 1st) | discord.js - 2(used 2st)
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
@frexinn: "messageCreate" event, "getChannelPropertie" function, "getRolePropertie" function, "embed" class. | @layslover: Setups and functions
Support server(discord): Discord