mahenzon / aiogram-lessons Goto Github PK
View Code? Open in Web Editor NEWНебольшая серия уроков по работе с библиотекой aiogram
Home Page: https://www.gitbook.com/book/surik00/aiogram-lessons/details
License: MIT License
Небольшая серия уроков по работе с библиотекой aiogram
Home Page: https://www.gitbook.com/book/surik00/aiogram-lessons/details
License: MIT License
I found very important to describe base concepts when working with a storage object.
Thx
aiogram-lessons/lesson-03/bot.py
Line 66 in bb4b85f
Попробовал запустить код
Вывел ошибку:
DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
В чём может быть дело?
Hello @mahenzon! Addison here from GitBook 😄
It seems like it's been a little bit, but I recently came across your old GitBook project—https://surik00.gitbooks.io/aiogram-lessons/content/
I don't know the last time you checked out GitBook, but we've updated the product quite a bit from the version you were last using, and have added a suite of new features to help you customize, organize, and make overall more interactive and engaging sites in GitBook.
I'm reaching out because I'm working on a new project this month, where we'll be launching a new landing page on our homepage that showcases some of the different content that can be made on GitBook, and I think the content you've made would be perfect to feature for the initial launch.
The only thing is, that we're only aiming to include content that's on the latest version of GitBook, so it would be great to work with you on migrating it over.
Luckily, we have a tool in place that will automatically migrate your content if you have it still hosted on GitHub or GitLab (which it seems that you do! 😄)
Would you be interested in exploring this with me at all? Let me know, and I'd be happy to provide more information or even hop on a call to explain a bit more.
You can reach me here, or on email if that's easier—addison @ gitbook.com
Looking forward to hearing back from you!
Addison
Developer Relations @ GitBook
Добрый день!
Подскажите плз. - как присвоить инлайн кнопкам код >10 (всего 25 кнопок) и кроме того в одном боте нужно разместить больше десятка таких клавиатур?
Спасибо!
Я не пойму почему при добавлении 11-го стейта ломается работа бота. Он не выдает ошибок, он перестает правильно менять стейты)
class TestStates(Helper):
mode = HelperMode.snake_case
TEST_STATE_0 = ListItem()
TEST_STATE_1 = ListItem()
TEST_STATE_2 = ListItem()
TEST_STATE_3 = ListItem()
TEST_STATE_4 = ListItem()
TEST_STATE_5 = ListItem()
TEST_STATE_6 = ListItem()
TEST_STATE_7 = ListItem()
TEST_STATE_8 = ListItem()
TEST_STATE_9 = ListItem()
#TEST_STATE = ListItem()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.