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.
npm install my-discord-bot-lib
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();
Please encrypt the code before filling out the required fields