2.0.8 • Published 3 years ago

disharmony v2.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

Build status

Disharmony

A Discord bot framework built on top of discord.js with command parsing and basic Mongo-like database integration

Features

  • Built on top of discord.js
  • Command handling
    • Syntax parsing
    • Per-server configurable prefix
    • Permission levels
  • Basic default commands
    • Help menu
    • Statistics
    • Version number
  • Mongo-like database support
  • Extensible

Use cases

  • Create bots without bothering with boilerplate
  • Focus on bot features rather than discord/database integrations
  • Reduce the amount of similar code between bots

Examples

Development

Prerequisites

Setup

  • npm install to install dependencies
  • tsc to compile JS into dist/

Tests

  • Written in TypeScript using Alsatian
  • Run with npm test

CI setup

  • The repository is configured for CI using Buildkite
  • Pipelines are stored in .buildkite and should be loadeg using Buildkite's 'read from repository' step
  • The standard pipeline deals with linting, building and running tests
  • The publish pipeline will publish the package to NPM when triggered

    • The Buildkite agent must have an NPM auth token set in the NPM_AUTH_TOKEN environment variable
  • Docker and Git must both be installed on the Buildkite agent

  • If running the agent on Windows, a couple of extra configuration steps need to be performed
    • The drive the Buildkite agent writes to needs to be shared with Docker
    • Git's /bin folder needs to be in the PATH
    • Git's global config option core.autocrlf needs to be set to false (as the files are used in a Linux docker image)

Built With

Documentation

Versioning

SemVer is used for versioning; view available versions on the tags page

License

This project is licensed under the MIT License - see the LICENSE file for details

2.0.7

3 years ago

2.0.8

3 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.9.3

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.3

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago