Microsoft-community / nanami

A modular Discord bot for the Microsoft community
1 stars 2 forks source link

1x-badge

Nanami

A Discord bot for the Microsoft Community server that does.. a bunch of stuff. Modularly!

Setup

Use sudo on the global install commands where necessary.

npm install -g typescript@next rimraf npm-run-all
npm install
npm start

Requesting a feature

Open an issue in the issues tab.

The given database is currently set up to work with a private development server, so make sure you overwrite the entries with applicable entries for your own servers! :)

Creating a Module

It's pretty messy, at the moment.

To create a module you need to:

Create a class that extends Module in the Modules directory.
Then, export an interface with your module configuration options.
Add this configuration interface to the Config structure.
Update the config.json with a new object containing your module configuration options.
Push your module to the Module Collection in the initializeModule helper.

You're done!