You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command, slash command & event handler by [Mélioᴼᶠᶠ](https://github.com/meliooff) - Bot Discord (v13.X.X)
3
+
Command, slash command & event handler by [Melio](https://github.com/antoinemcx) - Bot Discord (v14.X.X)
4
4
Moreover, the command and slash commands handlers contain a permissions checker and a cooldown checker ;
5
5
For better referencing, please add a star on the repository
6
6
7
7
8
-
#Configuration
8
+
## Setup the project
9
9
10
-
The configuration file named **config.js** have to content the token of your discord bot, its prefix and the IDs of all other owners (or just yours).
10
+
The configuration file named **config.js** have to content yout bot's token and prefix, and the IDs of all other owners (or just yours).
11
11
```js
12
12
module.exports= {
13
13
token:'THE_BOT_TOKEN',
@@ -16,31 +16,32 @@ module.exports = {
16
16
owner: [ "YOUR_DISCORD_ID" ],
17
17
};
18
18
```
19
-
ᅠᅠ
20
19
21
-
#Commands
20
+
### Installation
22
21
23
-
**Installation**
24
-
> `npm install`
22
+
```sh
23
+
$ npm install
24
+
```
25
25
26
-
**Register slash commands**
27
-
> `node slash.js`
26
+
### Register slash commands
28
27
29
-
**Start the bot**
30
-
> `node index.js`
28
+
```sh
29
+
$ npm run slash
30
+
```
31
31
32
-
#Errors
32
+
### Start the bot
33
33
34
-
For any errors found, please contact me [here](https://discord.com/invite/G6WQsMQShZ) for exemple or do a pull request.
34
+
```sh
35
+
$ npm run start
36
+
```
37
+
38
+
39
+
## More
35
40
36
-
# License
37
-
This repository is licensed under the MIT License. See the `LICENSE` file ([here](https://github.com/meliooff/Structure-Discord-Bot/blob/master/LICENSE)) for more information.
38
-
ᅠᅠ
41
+
For any errors found, please contact me [here](https://discord.com/invite/G6WQsMQShZ) for exemple or do a pull request.
39
42
43
+
### License
44
+
This repository is licensed under the MIT License. See the `LICENSE` file ([here](https://github.com/antoinemcx/Structure-Discord-Bot/blob/master/LICENSE)) for more information.
40
45
41
-
# Table of contents
42
-
*[Introduction](#Structure-Discord-Bot)
43
-
*[Configuration](#Configuration)
44
-
*[Commands](#Commands)
45
-
*[Errors](#Errors)
46
-
*[License](#License)
46
+
47
+
###### Made with ❤️ by [meliooff](https://github.com/antoinemcx) in JavaScript.
0 commit comments