# discody

> An library that provide an very simple way to make discord bots.

Latest version **0.3.3** (published 2023-07-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install discody
pnpm add discody
yarn add discody
bun add discody
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.3 |
| Published | 2023-07-03 |
| First published | 2023-06-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 70.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Harsh Agrawal |
| Maintainers | harsh002 |
| Keywords | discody, discord, discord-api, discord-bot |

## Links

- npm: https://www.npmjs.com/package/discody
- Repository: https://github.com/harshdev2/discody.js
- Homepage: https://github.com/harshdev2/discody.js#readme
- Issues: https://github.com/harshdev2/discody.js/issues
- npm.io page: https://npm.io/package/discody

## Dependencies (2)

- [ws](https://npm.io/package/ws.md) ^8.13.0
- [axios](https://npm.io/package/axios.md) ^1.4.0

## Recent versions

- 0.3.3 (latest) — 2023-07-03
- 0.3.2 — 2023-06-29
- 0.3.1 — 2023-06-29
- 0.3.0 — 2023-06-29
- 0.2.0 — 2023-06-27
- 0.1.0 — 2023-06-27

## README

# Discody.js
Discody.js is an alternative to discord.js with feature like built in message based commands, and built in slash commands handler, discody.js also provide a very simple way to work with interactions than discord.js.

## Comparison
| **Features** | **Discord.js** | **Discody.js** |
|---|---| --- |
Easy to work with | ❌ | ✅
Production ready | ✅ | ❌
Built in Message Command Handler |❌ | ✅
Built in Slash Command Handler |❌ | ✅
CLI Support | ❌ | ✅ (in development)

## Installation

```bash 
npm i discody@latest
```

## Docs
Documentation is available at [Discody Guide](https://discody-guide.vercel.app/).

## Things not supported right now
| Features | Supported |
--- | --- |
Message Commands and Slash Commands |  ✅
Embeds | ✅
Guilds ( Servers ) | ✅
Emojis | ✅
Invites | ✅
Audit Logs | ✅
Voice Features | ❌
Sharding | ❌
Roles Operations | ❌ ( Partial Support right now )
Channels Operations | ✅ ( Some Function not available right now  )
Kick / Ban | ✅
Timeout  | ❌
Message Commands Arguments | ✅
Event Handlers | ✅
Permissions | ❌
Gateway Intents | ✅
Attachments | ❌

## Note
Discody.js is currently in development, don't use it in bots in production environment.

You can test the discody.js library and consider it for future use.

## ChangeLog v0.3.0
* Added Emojis Support
* Added Channels Support
* Updated Reply Function in Both Slash Commands and Message Commands

Instead of sending a single embed, multiple embeds are now supported, if you are sending a single embed, embed have to be wrapped in an array.

and parameter name is also updated from embed to embeds.

```js
// Old Way -

let embed = new EmbedBuilder().setTitle("hello from embed also");
interaction.reply("hello", { embed: embed });

// New Way -

let embed = new EmbedBuilder().setTitle("hello from embed also");
interaction.reply("hello", { embeds: [embed] });
```

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