fix(BaseClient): Remove selfbot ability (#6429)

This commit is contained in:
HyRo
2021-08-16 09:30:35 +02:00
committed by GitHub
parent d289d5ccb7
commit 9a833b1e0e
3 changed files with 4 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ class Client extends BaseClient {
* @param {ClientOptions} options Options for the client
*/
constructor(options) {
super(Object.assign({ _tokenType: 'Bot' }, options));
super(options);
const data = require('worker_threads').workerData ?? process.env;
const defaults = Options.createDefault();