Skip to main content


A feature-rich suggestion system, condensed into a single custom command. This is similar to the current system used in the YAGPDB Support Server.


  • Logging channels
  • Management commands
  • Cooldown to prevent spam


In case you need a refresher, or don't know how to add a custom command, please read this tutorial.

For now, we will just add the system to your server and elaborate later on the various configuration variables as well as commands and subcommands.

Copy the entire script from the main cc and add it as a new custom command. Set the trigger type to RegEx and paste the following as the trigger:


Make sure to replace the - at the beginning of the trigger with your server's prefix.

You will not be able to save yet, as the custom command code is slightly over the limit as is. To fix this, we have to do one minor tweak: remove the large leading comment as well as the second comment:

What to remove
- {{/*
- Main command for the suggestion system.
- See <LINK> for more information.
- Author: Satty9361 <>
- */}}
- {{/* Configurable values */}}

Remove the text you see here as red from your custom command. Now you can save, which you should definitely do.


Okay, there are still a few things to do before your suggestion system is set up, which are the configuration variables. Please take your time to read through their description before making any changes.



Among these variables, all channels can be separate or the same.

  • 📌 $Suggestion_Channel
    This is the main channel, where all suggestions made through the command will show up - This is the #suggestions channel on the support server.

  • 📌 $Logging_Channel
    This is the channel where the authors are notified if a suggestion was denied, approved, implemented, or marked as dupe. In the YAGPDB server, this is the #suggestion-discussion channel.

  • 📌 $Implemented_Channel
    The channel where suggestions which have been marked as implemented are sent. This provides a good way to organise all implemented suggestions into a separate channel. On the support server, you can find this channel as #implemented-suggestions.

  • 📌 $Approved_Channel
    Where approved suggestions are being sent to. This is not the same as implemented suggestions: you can see approved suggestions as "being worked on", and implemented suggestions as "this is now a feature". In the Support Server, we log those under #implemented-suggestions as well.


Do not leave any channel ID blank, as this will break the system.


  • 📌 $Mod_Roles
    List of all role IDs which should have access to the management commands explained further down. There is no need to specify the roles which have Administrator permission, they will gain automatic access. Separate the individual role IDs by spaces.

  • $Cooldown
    The cooldown in seconds between consecutive suggestions to prevent spam. Set this to 0 to disable, Mods and Admins will automatically bypass this.

  • $Upvote
    The emoji to use for upvoting a suggestion. Both inbuilt and custom emojis are supported. For custom emoji, use the name:id / a:name:id format. Otherwise, the corresponding unicode character. See below for an example.

  • $Downvote
    Same as above, however for downvoting a suggestion.


Upvote and Downvote example with unicode (inbuilt) emoji
Upvote and Downvote example with custom emoji

Configure the variables to your liking and save again.


Your suggestion system is now set up and ready for use!



Precede all commands covered in the following sections either with your prefix or mention YAGPDB.

This section documents the commands and subcommands of this system, along with their use-case and usage.


Required arguments are enclosed in < >, optional arguments in [ ].

For everyone

  • suggest
    Syntax: suggest <suggestion>
    Use: Used to submit a new suggestion.

  • deletesuggestion
    Syntax: deletesuggestion <id>
    Use: Delete the suggestion with the given ID. Can be used by mods to force-delete a suggestion.

  • editsuggestion
    Syntax: editsuggestion <id> <new_suggestion>
    Use: Edit the suggestion with the given ID. Replaces the old text entirely with the new text.

For Mods / Admins

  • sa deny
    Syntax: sa deny <id> [reason]
    Use: Deny a suggestion and notify the author that their suggestion has been deleted, along with the optional reason for denial.

  • sa dupe
    Syntax: sa dupe <Suggestion-ID:Whole Number> <Old Suggestion-ID:Whole Number>
    Use: Mark the first given suggestion as a dupe of the second suggestion, delete the duplicate and inform the author of the duplicate.

  • sa approve
    Syntax: sa approve <id> [comment]
    Use: Approve a suggestion and log it to the channel for approved suggestions and notify the author. Adds a record of who approved the suggestion.

  • sa implement
    Syntax: sa implement <id> [comment]
    Use: Log a suggestion to the channel for implemented suggestions and notify the author. Sets a record of who implemented this suggestion.

  • sa comment
    Syntax: sa comment <id> <comment>
    Use: Comment on a suggestion. Can be used on any kind of suggestion.


    If there is already a comment, this will override the old comment.


Q: What is a suggestion ID?
A: This is just the message ID of the suggestion message. If you are unsure how to get message IDs, you can read this Discord article.

Q: I can't implement an approved suggestion! Why?
A: This is very likely because you copied the wrong message ID. Double check your input.

Q: When I try to save, it errors with "response too long". What am I doing wrong?
A: You need to remove the first two comments, as shown further up.


This custom command system was written by @Satty9361.