Skip to content

Instantly share code, notes, and snippets.

@brussell98
Created May 11, 2019 01:26
Show Gist options
  • Save brussell98/2ed7f28d7aaf6ea611b6c21f78110bd4 to your computer and use it in GitHub Desktop.
Save brussell98/2ed7f28d7aaf6ea611b6c21f78110bd4 to your computer and use it in GitHub Desktop.
BoD 2.2 Changelog

2.2.0 - The Approval Update

Upgrades the approval system, adding records, an approver role, the ability to resubmit bots, and more.

Features

  • Added a role for approvers and added support for it on the site and in the API. All mods and admins inherit this role
  • Added records to bots. These show a history of all moderation action and removals by the owner. They are shown on multiple pages
  • Added the ability to resubmit bots within three months of their denial/removal
  • Bot owners are now sent a DM on important actions on their bot (approved, unapproved, denied, removed)

Improvements

  • Added 'goto' support to the requireX middleware
  • Changed a few approval-related icons
  • Made the "Show raw" button for approvers transparent when not hovered
  • Changed text on bot pages to show "Deny" instead of "Remove" when denying a bot
  • Increased OpenGraph image size to 256px on bot pages
  • Made mod/approver buttons on bot pages wrap on small screens
  • Switched bot page prefix to break-work instead of break-all
  • Updated the bot requirements to clarify existing rules and show currently used unmentioned rules
  • Added new "userHasPermission" function to db.js for easier permission checking in the API
  • Hide notes and records from API responses unless needed
  • Increased bot limit to 25 to match the Discord application limit
  • Added a week to the cutoff for "new bots" on the front page
  • Moved role updates from the API to the bot
  • Added plaintext names to action webhooks

Fixes

  • Fixed rounding of home page search button
  • Fixed nesting of lists on bot requirements page
  • Fix incorrect text in ban webhooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment