Skip to content

v1.0.4.0

Latest

Choose a tag to compare

@andreitdr andreitdr released this 10 May 12:36
· 140 commits to main since this release

PluginManager

Moved to Json Database for online plugins
Moved to Discord.NET version 3.14.1

Fixed linux plugin downloading problems
Fixed some typos
Fixed ArchiveManager

Added config entry to customize how many download processes should be used with parallel downloads
Added Channel property into DbCommandExecutingArguments
Added InternalActionOption list to the ICommandActionInterface
Added plugin updater
Added bot auto-check for updates

Added new SQL Functions:

  • ExecuteNonQueryAsync:
    • Parameters:
      • string query -- the query
      • params KeyValuePair<string, object>[] parameters -- the parameters of the query
    • Returns:
      • int - Number of rows modified
  • ReadObjectOfTypeAsync
    • Parameters:
      • string query -- the query
      • Func<object[], T> convertor -- the convertor from the array of objects to a specific object
      • params KeyValuePair<string, object>[] parameters -- the parameters of the query
    • Retruns
      • An object of type T, where T is the type you need to get from the database.
    • Details:
      • This function converts the result of the query to an object of type T
  • ReadListOfTypeAsync
    • Parameters:
      • string query -- the query
      • Func<object[], T> convertor -- the convertor from the array of objects to a specific object
      • params KeyValuePair<string, object>[] parameters -- the parameters of the query
    • Retruns
      • A list of objects of type T, where T is the type you need to get from the database.
    • Details:
      • This function converts the result of the query to a list of objects of type T

Discord Bot

Added logo
Improved response time
Moved to Spectre.Console
Removed old code for Table formatting

Discord Bot UI

Created a small UI for Discord Bot that is Cross-Platform using AvaloniaUI
This UI has:

  • Logs viewer
  • Config changer
  • Page for downloading new plugins
  • Page for checking installed plugins

The Discord Bot UI is not compiled and not available via the Release page. If you want to test it, you must compile it yourself
The update may contain QOL fixes for plugin development.