Skip to content

v2.0.0

Compare
Choose a tag to compare
@russellbanks russellbanks released this 06 Apr 11:22
· 107 commits to main since this release
81bf37c

Highlights

Notify has been completely rewritten from the ground up, in Kotlin, using Kord as a framework for communicating with the Discord API and Kord Extensions as an extensible abstraction layer on top of Kord. The rewrite retains all functionality of the previous bot in TypeScript while completing adding major features and improvements.

What's Changed

  • All commands can be ran as either a slash command or a chat command. (Using Kordex Hybrid Commands)
  • Use Kotlin Coroutines for asynchronous code execution.
  • Notify command can notify @here or @everyone by passing the target (here, everyone) as a parameter.
  • Add permission checks for running commands.
  • MongoDB through KMongo is used as an online database.
  • Notify now sends a 'Thanks for inviting me' message when added to a new server.
  • Added a configure command to change the server preferences in the database. /configure view will show current server preferences. /configure channel will change the channel set for notifications, allowing a text channel as a parameter. /configure notifications will send a direct message to the user allowing them to change what state change events should send a notification.
  • Added environment variable support (some environment variables are mandatory such as an API key).
  • Most messages sent by the bot will get deleted after a time period when the message would no longer be required for channel cleanliness.
  • Ensure that there is always a channel for the bot to send notification messages in. (If the notification channel gets deleted, use the first text channel it can find)