discord-suggestion

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

Usage no npm install needed!

<script type="module">
  import discordSuggestion from 'https://cdn.skypack.dev/discord-suggestion';
</script>

README

Discord-suggestion v1.0.0

NPM

  • It is a package that helps you create your own bot suggestions 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-suggestion@latest

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

npm update discord-suggestion

Usage

const SuggestBot = require('discord-suggestion'),
  Discord = require('discord.js'),
  client = new Discord.Client(),
  settings = new SuggestBot({
    botPrefix: '

,
    botClient: client,
    reactionsLike: '👍',
    reactionsDislike: `👎`,
    antiLink: false,
    antiSpam: false,
    antiBadWords: [`lol`, 'test'],
    logChannel: '835831901742825512',
    supervisorsRole: 'RoleName',
    suggestChannel: '835523508066713610',
    symbolResponses: '➔',
    symbolSuggestion: '●',
  //hideHelp: true, //If you want to hide the help order
  })

client.on('message', function(message) {
  settings.suggest(message);
  settings.onCommands(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 Type in the name of the rank you want, who with this rank will be responsible for responding to suggestions and deleting suggestions

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

  • suggestChannel Suggestion channel on your server

  • reactionsLike If you want to change the expression reaction in the suggestion message, this is for you to change the like reaction

  • reactionsDislike If you want to change the expression reaction in the suggestion message, this is for you to change the like reaction

  • antiSpam If you enable it, it will activate anti-spam protection in the suggestions

  • antiLink If you allow it to be enabled, it will protect against links in the suggestions

  • antiWords If you put words in it, the bot will prevent anyone from typing such words in the suggestion

  • symbolSuggestion If you want to change the shape of the symbol that included words in the suggestion message

  • symbolResponses If you want to change the shape of the symbol that included words in the response message

  • 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

  • suggest

Description: To send your suggestion

  • suggestion-status

Description: For information on a specific suggestion

  • response

Description: To respond to a specific suggestion

  • clearreplys

Description: Remove all responses to a specific suggestion

  • deletesuggestion

Description: Remove specific suggestion from discord and bot data

Any bug or suggestion!

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

License

ST STudio