AminoApps python framework to create bots and scripts easily.
Features •
Usage •
Example •
Notes
Documentation
- ⚡ Optimization : Most of the code has been rewritten.
- ⚙ Backward compatibility : Write code with correct syntax.
- 🎮 Commands support : Go even further with new requests.
- 🍎 Supported on iPhones : free, and without jailbreak.
Install the package :
pip install amino.light.py
Import the Client
and SubClient
objects into your bot's code, and create your own help manual :
from AminoLightPy import Client, SubClient
# Your help message
help_message = """
Welcome!
This is help page.
"""
# Create Client object
client = Client()
# Login into account
client.login("[email protected]", "example_password")
# And display the help !
@client.event("on_text_message")
def on_message(data):
if data.message.author.userId != client.profile.userId: # Do not answer to myself
# Create SubClient object
sub_client = SubClient(comId=data.comId, profile=client.profile)
if data.message.content.startswith('/help'):
sub_client.send_message(chatId=data.message.chatId, message=help_message)
Simply copy code above, and type /help
in the chat.
Also, take a look at the code for this interactive help !
If you can't find what you're looking for or need help with this library, you can telegram me or an Discord - engineer48. We will be glad to help !
-
This is not my project. Amino libraries already existed before me. I just wanted to create a simple and effective way to support bots
-
This is working only with the Python.