0.6.4 • Published 2 years ago

discord-oversimplified v0.6.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

About

A simplified version of discord-extend

Installation

npm install discord-oversimplified
yarn add discord-oversimplified
pnpm add discord-oversimplified

Example usage

Install the required dependencies:

npm install discord-oversimplified
yarn add discord-oversimplified
pnpm add discord-oversimplified

Making a client:

const DOS = require("discord-oversimplified");

// Automatically logs in the client
const client = new DOS.Client({
	intents: [], // required
	token: "BOT_TOKEN" // required
});

Making a command in the same file as the client:

client.command("example", `
	content.set("content text");
	embed();
	embed.description("embed");
	reply(true);
`);

Making a command in a seperate directory:

module.exports = {
	trigger: "example",
	code: `
		content.set("content text");
		embed();
		embed.description("embed");
		reply(true);
	`
};

Links

Contributing

Before you create an issue, please take a look if it has already been reported or suggested, also check the latest documentation.

See the guide to contributing to submit a PR.

Help

If you are having problems with discord-oversimplified, you are welcome to join the Discord-Extend Server