discord-reports v1.0.0
🛡 Discord reports v1.0.0
- 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
orfalse
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
4 years ago