Closed DEAM0 closed 1 year ago
Hi, first of all check if you have entered the correct telegram id. You can find your ID at this bot
Next, check how the ADMINS_IDS
variable is specified in the data/.env
file. Let's say your ID is 123456
. The variable should look like ADMINS_IDS = '123456,'
. There is no admin panel as such, the commands available to the administrator can be found here.
Да, уже работает, можно ли добавить больше серверов? Или только один?
There is no way to create a network of servers right now, maybe this feature will come later.
well thank you
Is there a way to translate this script? I translated the keyboard and the keyboard doesn't work and neither do the commands.
Did you change handlers registration rules in handlers/__init__.py
?
no
We need to change the text in handlers/__init__.py
so that it matches what is in the keyboard. In fact, the keyboard that is not bound to a message (inline) is the buttons for sending messages. Handlers are set to specific messages, by changing the buttons on the keyboard - you have not changed the conditions for the script to trigger.
And where change message?
reply keyboards (buttons with text under textarea): keyboards/reply.py
inline keyboars: keyboards/inline.py
bro payments with stripe not work...
Of course, by default only card-to-card bank transfer and manual subscription issuance are available. If you need invoice payments - you can add logic for processing them in handlers/user.py
Documentation of aiogram on invoice payments
У нас проблема, если я дам правильный ID, я не смогу зайти в администрацию.