Skip to content

v2.4.0 A Boat Pinned to the Sky

Compare
Choose a tag to compare
@Laogeodritt Laogeodritt released this 26 Oct 02:49
· 35 commits to master since this release
9c0f548

Changelog

New modules

  • resource_channel: Automated tools for #resource channel management on Worldbuilding. For now, automatic upvoting of messages detected as resource posts. #270 (bugs: #319, #320)
  • sticky: Moderator tool. Automatically maintains a message at the bottom of a channel, with configurable delay before renewing the message (to avoid interrupting ongoing conversation). A more visible "sticky" message compared to pins or channel topics. #312 (bugs: #321)
  • discordtools: Miscellaneous tools to help with Discord usage.
    • .id: Allows users to get their own ID. Purely convenience, since users could always @mention themselves and prepend an escape character \ before, but instructing them to do this is cumbersome. #276
    • .kaztime (.time and .now): Get the current KazTron time. This is UTC and can be useful for users to figure out the community programmes schedule on WB. #292
  • modnotes.bantools
    • Move some modtools into its own module.
    • Validation of permaban records against current userlist. #294
    • Command to force immediate update of temp and permaban enforcement. #302
    • With modnotes.bantools enabled, modnotes will automatically reevaluate bans when a change is committed to modnotes. #302 (ish, this resolves one of the underlying reasons for #302)
  • modnotes.jointools: Add feature to track user join/parts in modtools, not only in bot channel. #272

New features

  • wordfilter: Add message "jump" link in mod notification embed. #271
  • modtools, reminders: .say and .saylater can now auto-pin. #324

Enhancements and bug fixes

  • modnotes
    • Extend record IDs to 5 digits, user IDs to 4 digits. #205
    • Fix bug when adding records that use both keyword args and newlines in the message, where the message would be truncated at the newline. #281
    • Allow name#0000 lookups (without a mention), to address some issues with modnotes use while on mobile Discord apps. #197
  • modnotes.bantools:
    • Fix unclear error messages when bot is unable to enforce a tempban role due to permissions. #303
    • Show KazTron ID number in ban/unban message. #323

Core bug fixes

  • Fix bug in keyword parser regex that ignored newlines. #281
  • Adjust logging levels in the core to reduce unnecessary log verbosity.
  • KazCog: Fix that send_message() and variant methods do not return the posted message object(s).
  • config:
    • Add caching to SectionView for converted values. (Subsequent bug: #322)
    • Allow SectionView converter to be None (to avoid needing to specify lambda x: None or similar for the write converter of read-only converters).
  • docs: Fix jekyllate failure when a cog did not contain kazhelp or was missing the category field. #325
  • EmbedSplitter: Fix AttributeError when no fields defined in EmbedSplitter.