Skip to content

Instantly share code, notes, and snippets.

@brussell98
Last active February 25, 2020 02:44
Show Gist options
  • Save brussell98/361cf68305a4a3f68c83776c6df394eb to your computer and use it in GitHub Desktop.
Save brussell98/361cf68305a4a3f68c83776c6df394eb to your computer and use it in GitHub Desktop.
Bots on Discord 2.9 Changes

2.9.0 - Reviews Update 2

Adds more features to reviews, reworks the dates for bots to various advantages, and more.

Features

  • Reworked dates for bots. They now have dates for firstSubmitted, lastSubmitted, firstApproved, and lastUpdated
    • This info is displayed on bot pages and the approval queue
    • Changed the approval queue to sort by the first submission date, not the last submission date
    • The date for "New bots" is now the first approved date. Resubmissions and long review times will not have negative effects anymore
      • Reduced the length of time a bot can be in the new bots section
  • Added owner replies to bot reviews
  • Added the ability for moderators to delete reviews
    • Clarified that spam reviews may be deleted

Improvements

  • Changed the way the rating is calculated on bot cards.
  • Made content required for reviews.
    • The check reviews API route now only returns exists: true/false
  • Upgraded to the current version of veza
    • Identified possible misconfiguration for reconnecting and fixed it
  • Made daily updates run hourly, excluding updating invite fields
    • Review data is now updated every hour in elasticsearch
  • Lowered the requirements to appear in the trending bots section
  • Added a new scoring system for bots in elasticsearch using a wilson score confidence interval calculated with reviews. This currently is only used for search results
  • Added differentiation between bots with no reviews and split reviews. Bots with no reviews will now show a rating of "None" and a grey ratio bar
  • Updated the staff list
  • Added status text to bot statuses on hover
  • Updated bot requirements
    • Added more detail to the description rules for clarification
    • Clarified what the overview rule means by "what your bot does" and "how to use it"
    • Clarified that telling users to leave a positive review, instead of just a review, is against the rules
  • Removed some data sent when loading the approval queue that wasn't used, reducing payload size significantly

Fixes

  • Fixed placeholder bots not showing the option to create a review to admins
  • Fixed owners seeing a button to review their bot when there are no reviews. A copy link button is now shown
  • Fixed bot editor API keys not being revoked when updating a bot to remove them as an editor
  • Fixed incorrect datetime for the default record description on archived bot cards
  • Fixed many spelling issues across the site (Turns out spellcheck was disabled for vue files)
  • Fixed the last updated date in elasticsearch not being updated
  • Fixed an error where removing a review would try to set the ratio to NaN if it was the last review or recent review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment