From c0da86156240f430d2968841eff98190862ff8ff Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 1 Jun 2018 18:05:25 +0300 Subject: [PATCH] Add warning about `delete-portal` kicking all room members --- mautrix_telegram/commands/portal.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mautrix_telegram/commands/portal.py b/mautrix_telegram/commands/portal.py index 19e61ba4..ce60def9 100644 --- a/mautrix_telegram/commands/portal.py +++ b/mautrix_telegram/commands/portal.py @@ -115,7 +115,11 @@ async def delete_portal(evt: CommandEvent): return await evt.reply("Please confirm deletion of portal " f"[{portal.alias or portal.mxid}](https://matrix.to/#/{portal.mxid}) " f"to Telegram chat \"{portal.title}\" " - "by typing `$cmdprefix+sp confirm-delete`") + "by typing `$cmdprefix+sp confirm-delete`" + "\n\n" + "**WARNING:** If the bridge bot has the power level to do so, **this " + "will kick ALL users** in the room. If you just want to remove the " + "bridge, use `$cmdprefix+sp unbridge` instead.") @command_handler(needs_auth=False)