# quick-discord

> A powerful package to allow Discord Bot Developers to Create Commands Quickly and Easily.

Latest version **1.0.8** (published 2021-04-02) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install quick-discord
pnpm add quick-discord
yarn add quick-discord
bun add quick-discord
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2021-04-02 |
| First published | 2021-02-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | WillTDA |
| Maintainers | willtda |
| Keywords | discord.js |

## Links

- npm: https://www.npmjs.com/package/quick-discord
- Repository: https://github.com/WillTDA/quick-discord
- Homepage: https://github.com/WillTDA/quick-discord#readme
- Issues: https://github.com/WillTDA/quick-discord/issues
- npm.io page: https://npm.io/package/quick-discord

## Dependencies (4)

- [moment](https://npm.io/package/moment.md) ^2.29.1
- [discord.js](https://npm.io/package/discord.js.md) ^12.5.1
- [discordjs-prompter](https://npm.io/package/discordjs-prompter.md) ^2.0.4
- [discord.js-pagination](https://npm.io/package/discord.js-pagination.md) ^1.0.3

## Recent versions

- 1.0.8 (latest) — 2021-04-02
- 1.0.7 — 2021-02-25
- 1.0.6 — 2021-02-25
- 1.0.5 — 2021-02-24
- 1.0.4 — 2021-02-24
- 1.0.3 — 2021-02-24
- 1.0.2 — 2021-02-24
- 1.0.1 — 2021-02-23
- 1.0.0 — 2021-02-23

## README

⚠ This Package is Still in Development! (Find any bugs? Join Our Discord Server, link is at the bottom of this page!)

# QuickDiscord

Create Commands for your Discord Bot with Ease with just a few Lines of Code.

# Install Package

Let's take a look at how you can install this package into your Discord Bot Project.

`npm i quick-discord --save`

# Example Code

```js
const Discord = require("discord.js");
const quickDiscord = require("quick-discord");
const client = new Discord.Client();

const PREFIX = "!";

client.on("ready", () => {
    console.log("Bot is Online")
});

client.on("message", async message => {
    if(message.content.startsWith(`${PREFIX}ping`)) {
        quickDiscord.ping(client, message)
    }
    else if(message.content.startsWith(`${PREFIX}help`)) {
        quickDiscord.help(message, {
            "Basic Commands": ["ping", "help", "poll"],
            "Music Commands": ["play", "stop", "seek"],
            "Admin Commands": ["kick", "warn", "ban"]
        });
    }
    else if(message.content.startsWith(`${PREFIX}poll`)) {
        quickDiscord.poll(message, "Is this a Good Package?", 30000) //time is optional
    }
});

client.login("Discord Bot Token")
```

# Need Help? Join Our Discord Server!

https://discord.gg/P2g24jp

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