mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
fix(BaseClient): Remove selfbot ability (#6429)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user