Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord-bot-privacy

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-bot-privacy

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 p

  • 1.2.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-57.14%
Maintainers
0
Weekly downloads
 
Created
Source

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
    
    
    
  3. 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

  • Arbotix Development
  • Arbotix Codez

Credit To Me

  • [HJGAMING]
  • [ARBOTIX CODEZ]
  • [ARBOTIX DEVELOPMENT]

Keywords

FAQs

Package last updated on 23 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc