controle

1.0.9 • Public • Published

controle lib

A library exists to protect your project from theft, with several options to activate the webhook that will be sent to the Discord server, and there you can control anyone running your project.

Installation

npm install my-discord-bot-lib

Usage

const DiscordBot = require('controle');

const bot = new DiscordBot({
  token: 'YOUR_DISCORD_BOT_TOKEN',
  guildId: 'YOUR_GUILD_ID',
  channelId: 'YOUR_CHANNEL_ID',
  mongoUri: 'YOUR_MONGO_URI',
  webhookName: 'YOUR_WEBHOOK_NAME', // Optional
  webhookAvatar: 'YOUR_WEBHOOK_AVATAR_URL' // Optional
});

bot.start();

Note

Please encrypt the code before filling out the required fields

Readme

Keywords

none

Package Sidebar

Install

npm i controle

Weekly Downloads

1

Version

1.0.9

License

ISC

Unpacked Size

7.88 kB

Total Files

6

Last publish

Collaborators

  • kingdiaa