Socket
Socket
Sign inDemoInstall

discord-reports

Package Overview
Dependencies
155
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    discord-reports

It is a package that helps you create your own reporting robot in Discord. It uses the Discord.js package, the ST.db data storage unit.


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

🛡 Discord reports v1.0.0

NPM

  • It is a package that helps you create your own reporting robot in Discord. It uses the Discord.js package, the ST.db data storage unit.

Getting Started

You can start install the package on your project:

npm i discord-reports@latest

You can update to a newer version to receive updates using npm.

npm update discord-reports

Usage

const ReportBot = require('discord-reports'),
Discord = require('discord.js'),
client = new Discord.Client(),
settings = new ReportBot({ 
  botPrefix: '#',
  botClient: client,
  supervisorsRole:'RoleName',
  logChannel:`830760793544327179`,
/*hideHelp: true, If you want to hide the help order*/
});

client.on('message', message => {
    if(message.content.startsWith(settings.prefix)) { 
        settings.onMessage(message);
    };
});
client.login('Token Bot')

Basic settings

  • botPrefix The prefix for your bot that you will use with commands

  • botClient Your client name in discord js

  • supervisorsRole Enter the name of the rank in which you want to be responsible for reporting

  • logChannel If you want to list all changes, type the channel ID you want to log

  • hideHelp This value expresses the help command, and you can set it true or false

If you want to add status

client.on('ready', ready => {
 settings.botSetStatus(`Your Status`)
});

Help Panel

  • report Description:

To file a report on a specific person

  • bugreport Description:

Report a problem about us

  • report-info Description:

To find out the information of a specific report through its ID

  • response Description:

To respond to a specific report

  • deletereport Description:

Delete a specific report

  • clearreports Description:

To delete all currently stored reports

  • clearreplys Description:

To delete all responses for a particular report

Any bug or suggestion !!

  • Contact With Me Discord: Shuruhatik#0001
  • or Discord Server ST Studio

License

ST STudio

Keywords

FAQs

Last updated on 23 Apr 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc