From dcacd31bbc66ef84845036fbf8491f62cca8f9eb Mon Sep 17 00:00:00 2001 From: Alexander Kalinovsky Date: Sun, 4 May 2025 21:15:28 +0700 Subject: [PATCH] fix copy button in string editor --- src/quickbot/bot/handlers/editors/string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quickbot/bot/handlers/editors/string.py b/src/quickbot/bot/handlers/editors/string.py index 750e177..a5982e1 100644 --- a/src/quickbot/bot/handlers/editors/string.py +++ b/src/quickbot/bot/handlers/editors/string.py @@ -81,7 +81,7 @@ async def string_editor( keyboard_builder.row( InlineKeyboardButton( text=_current_value_caption, - copy_text=CopyTextButton(text=_current_value), + copy_text=CopyTextButton(text=_current_value[:256]), ) )