mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
34 lines
904 B
JavaScript
34 lines
904 B
JavaScript
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)
|
|
`,
|
|
};
|