Fixed wrong key used in /setup

This commit is contained in:
Profitroll 2023-08-30 12:13:40 +02:00
parent e77cfea553
commit 05f4765d99
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
@PyroClient.on_message( @PyroClient.on_message(
~filters.scheduled & filters.private & filters.command(["setup"] + i18n.sync.in_all_locales("configure", "buttons"), prefixes=["/", ""]) # type: ignore ~filters.scheduled & filters.private & filters.command(["setup"] + i18n.sync.in_all_locales("start_configure", "buttons"), prefixes=["/", ""]) # type: ignore
) )
async def command_setup(app: PyroClient, message: Message): async def command_setup(app: PyroClient, message: Message):
user = await app.find_user(message.from_user) user = await app.find_user(message.from_user)