# bot-creator-for-discord

> ```javascript const dc = require('bot-creator-for-discord')

Latest version **1.0.6** (published 2021-05-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install bot-creator-for-discord
pnpm add bot-creator-for-discord
yarn add bot-creator-for-discord
bun add bot-creator-for-discord
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-05-23 |
| First published | 2021-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | clown-gith |

## Links

- npm: https://www.npmjs.com/package/bot-creator-for-discord
- npm.io page: https://npm.io/package/bot-creator-for-discord

## Dependencies (2)

- [eris](https://npm.io/package/eris.md) ^0.15.1
- [express](https://npm.io/package/express.md) ^4.17.1

## Recent versions

- 1.0.6 (latest) — 2021-05-23
- 1.0.5 — 2021-05-23
- 1.0.4 — 2021-05-23
- 1.0.3 — 2021-05-23
- 1.0.2 — 2021-05-23
- 1.0.1 — 2021-05-23
- 1.0.0 — 2021-05-22

## README

# how to use

```javascript
const dc = require('bot-creator-for-discord')

//Creating a client

const bot = new dc({
  token: 'YOUR_BOT_TOKEN',
  prefix: 'YOUR_BOT_PREFIX (OPTIONAL)'
}, {
  events: ['msg'] //Allows to run commands
})


//Example command
bot.command({
  name: 'ping',
  aliases: ['pong'],
  code: async(bot, msg) => {
    bot.createMessage(msg.channel.id, msg.channel.guild.shard.latency)
  }
})
```

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