Auto-Updater Plugin
This is a built-in core plugin that follows the plugin template system.
It handles dependency management and allows the bot owner to check for dependency updates and update such dependencies.
This is particularly useful for the youtube_dl
dependency which is updated often and used predominantly in the media plugin.
Usage:
!checkforupdates 'dependency_name'
: Checks if the given dependency has an update available.!updatedependency 'dependency_name'
: Updates the given dependency if an update is available.
Plugin Metadata
[Plugin Information]
PluginVersion = 5.0.0
PluginName = Auto-Updater
PluginDescription = The Auto-Updater plugin helps automatically update and check bot dependency packages.
PluginLanguage = EN
PluginCommands: [
"updatedependency",
"checkforupdates"
]
[Plugin Settings]
PIPCommand = pip
; List commands that need the core thread to wait for completion.
; This may include processes that require multiple commands in succession.
; For example: [Youtube Plugin - !yt -> !p] process requires 2 commands in that order.
ThreadWaitForCommands: []
UseSingleThread = False
[Plugin Type]
ControllablePlugin = True
AudioPlugin = False
ImagePlugin = False
CorePlugin = True
ExtensionPlugin = False