Update docs

This commit is contained in:
Amish Shah
2016-08-30 14:56:33 +01:00
parent 4f41a86dd3
commit 39f969c777
3 changed files with 21 additions and 31 deletions

View File

@@ -1,33 +1,7 @@
const fs = require('fs');
module.exports = {
category: 'General',
name: 'Getting Started',
data:
`# Welcome!
discord.js is an easy-to-use and intuitive JavaScript library that wraps around the Discord API.
## Installation
To install discord.js from npm:
\`\`\`bash
npm i --save discord.js
\`\`\`
To install discord.js from the master branch:
\`\`\`bash
npm i --save hydrabolt/discord.js
\`\`\`
To install discord.js from the development branch:
\`\`\`bash
npm i --save hydrabolt/discord.js#indev
\`\`\`
To install discord.js from the rewrite branch:
\`\`\`bash
npm i --save hydrabolt/discord.js#indev-rewrite
\`\`\`
## Tutorials
LuckyEvie, a helper in the discord.js channel, has put together a great tutorial on getting to grips with discord.js.
It's worth a read and you can find it [here.](https://eslachance.gitbooks.io/discord-js-bot-guide/content/samples/selfbots,_the_awesomest_thing_in_the_universe.html)
`,
name: 'Welcome',
data: fs.readFileSync('./docs/custom/documents/getting_started.md').toString('utf-8'),
};