There are several additional options you can use in the client constructor.
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.
name
prefix
printQRInTerminal
true
autoRead
false
authFile
./state.json
Last updated 3 years ago