1.0.0 • Published 3 years ago

discord.js-userbot-fix v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Discord.js Userbot

Allow discord.js to login as User

Install

npm i discord.js.userbot-fix

allowUserBotting(client, node_modules_path)

ParamTypeDefaultDescription
clientClientundefinedclient instance of new Discord.Client

Example

const Discord = require('discord.js');
const allowUserBotting = require('discord.js.userbot-fix');
const client = new Discord.Client();
// Remember to set correct node_modules_path if it's not working.
allowUserBotting(client);
client.login('TOKEN');

You can read more in the function documentation.