discord.js.userbot

1.0.3 • Public • Published

discord.js.userbot

Allow discord.js to login as User

Install

npm i discord.js.userbot

allowUserBotting(client, [node_modules_path])

Param Type Default Description
client any client instance of new Discord.Client
[node_modules_path] string "../node_modules" relative path to your node_modules

Example

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

You can read more in the function documentation.

Readme

Keywords

Package Sidebar

Install

npm i discord.js.userbot

Weekly Downloads

8

Version

1.0.3

License

MIT

Unpacked Size

2.67 kB

Total Files

3

Last publish

Collaborators

  • imemily