# simple-discord-bot

> Library for creating simple discord bots

Latest version **0.4.5** (published 2015-12-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install simple-discord-bot
pnpm add simple-discord-bot
yarn add simple-discord-bot
bun add simple-discord-bot
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.5 |
| Published | 2015-12-26 |
| First published | 2015-10-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| Author | murm |
| Maintainers | murm |
| Keywords | simple, discord, bot |

## Links

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

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [requirejs](https://npm.io/package/requirejs.md) ^2.1.22
- [discord.js](https://npm.io/package/discord.js.md) ^5.2.0

## Recent versions

- 0.4.5 (latest) — 2015-12-26
- 0.4.4 — 2015-12-26
- 0.4.3 — 2015-12-26
- 0.4.2 — 2015-12-24
- 0.4.1 — 2015-12-24
- 0.4.0 — 2015-12-23
- 0.1.6 — 2015-10-27
- 0.1.5 — 2015-10-25
- 0.1.4 — 2015-10-24
- 0.1.3 — 2015-10-24
- 0.1.2 — 2015-10-24
- 0.1.1 — 2015-10-24

## README

# simple-discord-bot

```
// app.js
var discordbot = require('simple-discord-bot'),
    auth = require('./auth.json');

var commands = [{
    name: 'greet',
    description: 'description for greet',
    help: 'help for greet',
    handle: greet
}];

function greet (message) {
    bot.sendMessage(message, 'Hey, '+ message.author.username +'! Wazzup!?');
}

var bot = new discordbot({ commands: commands });

bot.connect(auth);
```

```
// auth.json
{
    "email" : "your@email.com",
    "password" : "yoursecretpassword"
}

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