mirror of
https://github.com/maubot/maubot
synced 2025-08-29 16:40:38 +00:00
Set bot profile info at startup and add example maubot.ini
This commit is contained in:
parent
350749a2c1
commit
4d2f2cd173
2 changed files with 24 additions and 3 deletions
16
example-maubot.ini
Normal file
16
example-maubot.ini
Normal file
|
@ -0,0 +1,16 @@
|
|||
# This is an example maubot plugin definition file.
|
||||
# All plugins must include a file like this named "maubot.ini" in their root directory.
|
||||
[maubot]
|
||||
# The unique ID for the plugin. Java package naming style.
|
||||
ID = xyz.maubot.plugin
|
||||
# A PEP 440 compliant version string.
|
||||
Version = 1.0.0
|
||||
# The comma-separated list of modules to load from the plugin archive.
|
||||
# Submodules that are imported by modules listed here don't need to be listed separately.
|
||||
# However, top-level modules must always be listed even if they're imported by other modules.
|
||||
Modules = plugin
|
||||
# The main class of the plugin. Format: module/Class
|
||||
# If `module` is omitted, will default to last module specified in the module list.
|
||||
# Even if `module` is not omitted here, it must be included in the modules list.
|
||||
# The main class must extend maubot.Plugin
|
||||
MainClass = PluginClass
|
Loading…
Add table
Add a link
Reference in a new issue