Permalink
Browse files

Completed docs

  • Loading branch information...
1 parent 3dac3f9 commit 30e3e338d645cea5a6e58fdd790dfaf6fb2a6a3f @brussell98 committed Dec 4, 2016
View
@@ -1,6 +0,0 @@
-javascript:
- enabled: false
-eslint:
- enabled: true
- config_file: .eslintrc
-fail_on_violations: true
View
@@ -1,5 +1,11 @@
+*.tmp
+*.env
+.vscode
+node_modules
+config.json
+
+# npm ignore
docs
examples
-.hound.yml
.jsdoc.json
.codeclimate.yml
View
@@ -16,3 +16,13 @@ const Mirai = require('mirai-bot-core'),
bot = new Mirai(config);
```
Add your bot to a server using `https://discordapp.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&scope=bot`.
+
+## Abstract Classes:
+Abstract classes are provided to ensure you have the required methods. They can be accessed like so:
+```js
+const AbstractCommand = require('mirai-bot-core/lib/Base/AbstractCommand');
+
+class PingCommand extends AbstractCommand {
+
+}
+```
Oops, something went wrong.

0 comments on commit 30e3e33

Please sign in to comment.