Client Options
There are several additional options you can use in the client constructor.
All Options:
- name (required Strings) - Bot Name
- prefix (required Strings) - Bot Prefix
- printQRInTerminal (optional Boolean) - Print the QR code to terminal?
- autoRead (optional Boolean) - Auto read the message?
- authFile (optional Strings) - Path to session file.
- customDatabase (optional Object) - A collection of functions in objects that function to control the database (variables)
💡
Guides to custom database? click me
Name | Default |
---|---|
name | |
prefix | |
printQRInTerminal | true |
autoRead | false |
authFile | ./state.json |
customDatabase | require('quick.db') |