fix setting exported from fediverse_server.py
This commit is contained in:
parent
c697c3bbb2
commit
a99f359266
1 changed files with 3 additions and 2 deletions
|
@ -24,8 +24,9 @@ def _setting_parse(s):
|
|||
return _format_username(username, instance)
|
||||
return None
|
||||
|
||||
@utils.export("set", utils.FunctionSetting(_setting_parse, "fediverse",
|
||||
help="Set your fediverse account", example="@gargron@mastodon.social"))
|
||||
@utils.export("botset", utils.FunctionSetting(_setting_parse, "fediverse",
|
||||
help="Set the bot's fediverse server account",
|
||||
example="@gargron@mastodon.social"))
|
||||
class Module(ModuleManager.BaseModule):
|
||||
_name = "Fedi"
|
||||
|
||||
|
|
Loading…
Reference in a new issue