maubot-ntfy/ntfy/config.py

8 lines
230 B
Python
Raw Normal View History

2023-01-08 13:54:27 +00:00
from mautrix.util.config import BaseProxyConfig, ConfigUpdateHelper
class Config(BaseProxyConfig):
def do_update(self, helper: ConfigUpdateHelper) -> None:
helper.copy("command_prefix")
helper.copy("admins")