@detachhead/discord.js.userbot
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-d192e38477a2dbfff5a6645e0e21cd81aa0c3de7 • 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 Client undefined client instance of new Discord.Client

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);
client.login('TOKEN');

You can read more in the function documentation.

Readme

Keywords

none

Package Sidebar

Install

npm i @detachhead/discord.js.userbot

Weekly Downloads

1

Version

1.0.0-d192e38477a2dbfff5a6645e0e21cd81aa0c3de7

License

ISC

Unpacked Size

11.9 kB

Total Files

10

Last publish

Collaborators

  • detachhead