discord-go

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i discord-go

Weekly Downloads

4

Version

1.0.2

License

Apache-2.0

Unpacked Size

42.6 kB

Total Files

39

Last publish

Collaborators

  • yigitturkoglu