2.0.0
Dev Notes
This is the first major update that required a significant version change. Nearly the entire codebase was refactored to migrate the current message-based command system (!command) to Discord's new, fancy slash command system. If you've never heard of slash commands, you can read more about them here.
Going forward, all release notes will be published on GitHub for consistency.
New Features
- Slash commands! The bot will no longer respond to the
!prefix. See the above notes for more information about what slash commands are and how they work - The XP system has been overhauled
- The latest iteration of the system considers numeric experience values when determining a user's level, rather than just their number of approved posts
- This allows for several different sources to contribute to a user's level, which will be addressed below
- All posts approved prior to this release will be migrated to the new XP system, with a rate of 5 XP earned per post
- This will not affect user levels. If you were level 5 prior to this release, you will still be level 5 after the release
- View the notion page for a breakdown of the new XP system
- Poll system
- Moderators can create a poll using the
pollcommand - A poll can last anywhere from 1 second to 24 days and have 2-10 choices
- Once a poll has been created, it will be sent in a public channel where users can vote on it
- Each user can vote on a poll once, and their vote cannot be changed once it has been cast
- Every vote cast on a poll earns the voter +1 XP
- Moderators can create a poll using the
- Kind Words submissions
- Similar to the Good Acts submissions, users can now receive LLP and XP for contributing in the kind-words channel!
- Any message sent in the channel can be approved or rejected by a moderator using the ✅ and ❌ reactions, respectively
- Unlike Good Acts submissions, these emojis are not automatically added to every message
- Moderators have one week to approve a message after it has been sent in the channel
- Once a message has been approved, all users who reacted prior to its approval receive +1 LLP
- All users who react within 24 hours of its approval will receive +1 LLP (maximum of one reaction per user per message)
- The author of the message will receive +10 LLP and +1 XP for having their submission approved
- The only way to reject a submission after approval is to delete the submission from the channel
- Moderators can now reject Good Acts submissions before they have been approved
- Clicking on the "❌" emoji will reject a submission
- All bot reactions will be removed
- All "❌" reactions to the submission will be removed (out of consideration)
- The post will no longer be eligible for approval
- Users can still react to the post as if it were a normal Discord message, but they will not receive LLP
Existing Feature Changes
good-actssubmissions, upon approval, now use Discord's inline replies to reference the approved message
Commands
- All command aliases have been removed
awardnft- now has two subcommands:
userandama(renamed fromqna) - all reaction confirmations have been replaced with buttons
amasubcmd - when NFT awardal is complete, the final embed will be green if all users were rewarded, and orange if at least one user was not rewarded
- now has two subcommands:
selfrole- "Bot Updates" added to list of self-assignable roles
- no longer takes arguments
- now allows for removal of self-assignable roles
- running the command without arguments now brings up a Discord Select Menu
- bot responses have been changed to embeds
help- no longer takes arguments
- admin cmds are now displayed if the initiator is an administrator
addrole/delrole- each individual command was removed and consolidated into a single
rolecommand rolecmd has two subcommands,addandremove- responses now use embeds instead of reactions
- each individual command was removed and consolidated into a single
sudosay- now gives an error if the target channel is not a text channel
- instead of reacting to indicate success, the bot will send an embed
shutdown- asks for confirmation before proceeding
- bot responses have been changed to embeds
restart- asks for confirmation before proceeding
- bot responses have been changed to embeds
setstatus- previously, to clear the bot's status, the command would be run without arguments
- now, the command must be run with the
textargument set to "clear" - instead of reacting to indicate success, the bot will send an embed
Bug Fixes
- Sometimes
good-actssubmissions could still be approved after the one-week window for a moderator to approve them had closed - The "inventory" section of the Leyline profile would sometimes return an incorrect value