Skip to content

Instantly share code, notes, and snippets.

@brussell98
Last active January 9, 2021 07:21
Show Gist options
  • Save brussell98/dcd43e954f397b3236b0af662b593777 to your computer and use it in GitHub Desktop.
Save brussell98/dcd43e954f397b3236b0af662b593777 to your computer and use it in GitHub Desktop.
Bots on Discord 2.12 Changelog

2.12.0

Features

  • Added the ability for Helpers to recommend a bot for approval, with a note
  • Made Commands public
    • Added API documentation section
    • Added about page section
  • Added an admin permission warning to bot pages

Improvements

  • Reduced the bundle size across the site
    • Removed CSS post-processing code from bot pages, info pages, and lists
    • Switched from moment to dayjs, which is significantly smaller
    • Switched to whitelisting languages for highlight.js. The new set of 53 languages includes all currently-used ones, and any other languages someone may want to use
  • Improved command lists
    • Changed command examples from a tooltip to an expandable container
    • Changed property labels to be underlined instead of bold
    • Improved the category container styling to be clearer
  • Disabled Yandex Metrica
  • Removed the length requirement for review replies
  • Added trimming to bot records
  • Renamed "API Docs" link to "API Documentation"
  • Updated dependencies
  • Updated and improved bot requirements (diff)

Fixes

  • Added back a small bottom margin to the last paragraph element in markdown to avoid cutting off elements.
  • Fixed the default category always showing in command lists
  • Fixed bot overview styles applying to command descriptions
    • Note: If you use .markdown-body in your CSS, you must change it to an empty selector (nothing before the brackets) to select the container.
  • Added missing website support for Helpers
  • Fixed bot cards on user pages not ever displaying "Editor"
  • Fixed loading overlays blocking other elements like the navbar dropdowns
  • Fixed bot record reasons not rendering line breaks across the site
  • Fixed incorrect logic for the admin permission warning on the submit and edit pages
  • Fixed the API not checking for required reasons
  • Fixed height of bot page header name and buttons container being greater than the avatar height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment