2.3.3 • Published 5 years ago
@devartsite/discordbot v2.3.3
Installation
To install DiscordBot:
npm i @devartsite/discordbot
Basic example
const DiscordBot = require('@devartsite/discordbot')
const client = new DiscordBot({ DiscordBotOptions })
client.login(token)
- By default DiscordBot integrates a Help Module
options
ggid
- String (global guild id) Id of the developer’s guild (default "null
")gcid
- String (global channel id) Id of the developer’s channel on developer’s guild (default "null
")dev
- String Name of the main developer (default "Anonymous
")prefix
- String Character string to recognize a command of a message (default "&
")dbname
- String Name of mongo database (default "null
")customHelp
- Object object containing the title and custom description for the help commandtitle
- String Title help command (default "null
")description
- String Description help command (default "null
")
modulesPath
- String Your modules folder path (default "null
")useDefaultModule
- Boolean|Array Module selection enabled (default "['']
")*
Module implementation
DiscordBot-project
├── modules
│ ├── index.js
│ ├── commands.js
│ ├── methods.js
│ ├── responses.js
│ └── events.js
└── index.js
ToDo
- Client:
- ✓ Base discord.js
- ✓ MongoDb connection
- ✓ Initialisation module and start main script
- ✓ Message embed default data assignation
- Modules
- ✓ Check module existance
- ✓ Check module components
- ✓ Main script
- ✓ Commands
- ✓ Events
- ✓ Methods
- ✓ Responses
- ✓ Start main script
2.3.2
5 years ago
2.3.3
5 years ago
2.2.2
5 years ago
2.2.1
5 years ago
2.2.0
5 years ago
2.1.4
5 years ago
2.1.3
5 years ago
2.1.2
5 years ago
2.1.1
5 years ago
2.0.8
5 years ago
2.1.0
5 years ago
2.0.7
5 years ago
2.0.6
5 years ago
2.0.5
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago