From 16dc75fde8c3566438bb922877ce5bc7473c4e34 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Sun, 4 Feb 2024 21:14:57 -0500 Subject: [PATCH] delete from server immediately --- faqbot/hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/faqbot/hooks.py b/faqbot/hooks.py index a53137b..8572e46 100644 --- a/faqbot/hooks.py +++ b/faqbot/hooks.py @@ -29,6 +29,7 @@ def on_init(bot: Bot, _args: Namespace) -> None: bot.rpc.set_config(accid, "displayname", "FAQ Bot") status = "I am a Delta Chat bot, send me /help for more info" bot.rpc.set_config(accid, "selfstatus", status) + bot.rpc.set_config(accid, "delete_server_after", "1") @cli.on_start