1.2.2 • Published 1 year ago
discord-bot-privacy v1.2.2
Discord Bot Privacy Management
A simple Discord bot management package that allows bot owners to toggle their bot's privacy status (private/public) using a slash command. This package is designed to work with all versions of Discord.js and supports multiple bots by storing each bot's privacy status in a local JSON file.
Features
- Toggle Privacy: Easily switch your bot between private and public modes.
- Multiple Bots Support: Manage privacy settings for multiple bots independently.
- Automatic Setup: The package automatically sets up the required commands and starts the bot when imported.
- Persistent Data Storage: Stores each bot's privacy status in a
privacyData.json
file without the need for external databases like MongoDB.
Installation and Usage
Follow these steps to install, set up, and run your bot using this package.
Install the package:
npm i discord-bot-privacy
Create env file in your code:
BOT_TOKEN=your-discord-bot-token CLIENT_ID=your-discord-client-id OWNER_ID=your-discord-user-id
Add in main file:
const botPrivacy = require('discord-bot-privacy'); try { botPrivacy.start(); } catch (error) { console.error('Failed to start the Discord Bot Privacy Management:', error); }
Join Discord Server For Help
Credit To Me
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago