1.2.2 • Published 10 months ago

discord-bot-privacy v1.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

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.

  1. Install the package:

    npm i discord-bot-privacy
  2. Create env file in your code:

    BOT_TOKEN=your-discord-bot-token
    CLIENT_ID=your-discord-client-id
    OWNER_ID=your-discord-user-id
  1. 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

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.9

10 months ago

1.1.8

10 months ago

1.1.7

10 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago