# @simpledjs/framework

> A framework to make discord bot development easier

Latest version **0.7.0** (published 2022-05-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @simpledjs/framework
pnpm add @simpledjs/framework
yarn add @simpledjs/framework
bun add @simpledjs/framework
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0 |
| Published | 2022-05-22 |
| First published | 2022-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.6.0 |
| Dependencies | 7 |
| Unpacked size | 64.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | JaronZ |
| Maintainers | jaronz |
| Keywords | discord-extend, discordjs, discord |

## Links

- npm: https://www.npmjs.com/package/@simpledjs/framework
- Repository: https://github.com/discordextend/discord-oversimplified
- Homepage: https://github.com/discordextend/discord-oversimplified#readme
- Issues: https://github.com/discordextend/discord-oversimplified/issues
- npm.io page: https://npm.io/package/@simpledjs/framework

## Dependencies (7)

- [tslib](https://npm.io/package/tslib.md) ^2.3.1
- [discord.js](https://npm.io/package/discord.js.md) ^13.6.0
- [require-all](https://npm.io/package/require-all.md) ^3.0.0
- [@discordjs/builders](https://npm.io/package/@discordjs/builders.md) ^0.9.0
- [@sapphire/framework](https://npm.io/package/@sapphire/framework.md) ^3.0.0-next.35d02d8.0
- [@discordjs/collection](https://npm.io/package/@discordjs/collection.md) ^0.4.0
- [@hammerlang/interpreter](https://npm.io/package/@hammerlang/interpreter.md) ^1.0.0

## Recent versions

- 0.7.0 (latest) — 2022-05-22

## README

<div align="center">
	<br>
	<p><img width="800" src="https://raw.githubusercontent.com/simpledjs/images/main/dos-full.png" alt="Discord Oversimplified Logo"></p>
	<br>
	<a href="https://discord.gg/AQwkmv7kA9"><img src="https://img.shields.io/discord/882085501694246982?color=5865F2&logo=discord&logoColor=white" alt="Discord Server"></a>
	<a href="https://npmjs.com/package/@simpledjs/framework"><img src="https://img.shields.io/npm/v/@simpledjs/framework.svg?maxAge=3600" alt="NPM Version"></a>
	<a href="https://npmjs.com/package/@simpledjs/framework"><img src="https://img.shields.io/npm/dt/@simpledjs/framework.svg?maxAge=3600" alt="NPM Downloads"></a>
</div>

## About

A framework built with discord.js and the sapphire framework to make discord bot development easier

## Installation

```sh-session
npm install @simpledjs/framework
yarn add @simpledjs/framework
pnpm add @simpledjs/framework
```

## Example usage

Install the required dependencies:

```sh-session
npm install @simpledjs/framework
yarn add @simpledjs/framework
pnpm add @simpledjs/framework
```

Making a client:

```js
const SDJS = require("@simpledjs/framework");

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

Making a command in the same file as the client:

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

Making a command in a seperate directory:

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

## Links

- [Documentation](https://www.notion.so/Discord-Oversimplified-Documentation-8e528936c677448394641d5d4bdbbeac) (temporary docs)
- [simple.djs Discord Server](https://discord.gg/AQwkmv7kA9)
- [simple.djs GitHub](https://github.com/simpledjs/simple.djs)
- [NPM](https://npmjs.org/package/@simpledjs/framework)

## Contributing

Before you create an issue, please take a look if it has already been reported or suggested, also check the latest [documentation](https://www.notion.so/Discord-Oversimplified-Documentation-8e528936c677448394641d5d4bdbbeac).

## Help

If you are having problems with simple.djs, you are welcome to join the [simple.djs Server](https://discord.gg/AQwkmv7kA9)

---
_Source: https://npm.io/package/@simpledjs/framework · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
