Archived
finished installation
This commit is contained in:
1 parent
f08d320b13
commit
7097001a04
1 file changed
+9
-2
@@ -5,6 +5,11 @@ A Discord.js based framework that makes creating Discord bots easy and fast.
|
|||||||
# Table of contents
|
# Table of contents
|
||||||
|
|
||||||
- [Instalation](#installation)
|
- [Instalation](#installation)
|
||||||
|
- [System requirements](#system-requirements)
|
||||||
|
- [Creating a project](#creating-a-project)
|
||||||
|
- [Registering Discord app](#registering-discord-app)
|
||||||
|
- [Creating application](#creating-application)
|
||||||
|
- [Commands](#commands)
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
@@ -57,8 +62,8 @@ const bot = new Bot({
|
|||||||
clientOptions: {
|
clientOptions: {
|
||||||
intents: [..."DISCORD_API_INTENTS"],
|
intents: [..."DISCORD_API_INTENTS"],
|
||||||
}, // Discord.js ClientOptions (optional)
|
}, // Discord.js ClientOptions (optional)
|
||||||
token: "DISCORD_BOT_TOKEN" // Discord bot token
|
token: "DISCORD_BOT_TOKEN", // Discord bot token
|
||||||
applicationId: "APPLICATION_ID" // Discord application ID used to register slash commands
|
applicationId: "APPLICATION_ID", // Discord application ID used to register slash commands
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -76,3 +81,5 @@ bot.start(
|
|||||||
true // If true, the app will register all slash commands in the Discord API (it's recommended setting it to false after registering to avoid reaching daily quota)
|
true // If true, the app will register all slash commands in the Discord API (it's recommended setting it to false after registering to avoid reaching daily quota)
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Commands
|
||||||
Reference in new issue
Block a user