Skip to main content

Best Amino.py alternative

Project description

AmioLightPy

gif

AminoApps python framework to create bots and scripts easily.

GitHub release Docs licence

FeaturesUsageExampleNotes
Documentation

Features

  • Optimization : Most of the code has been rewritten.
  • Backward compatibility : Write code with correct syntax.
  • 🎮 Commands support : Go even further with new requests.

Usage

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("example_mail@gmail.com", "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)

Example

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 !

Notes

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amino.light.py-0.1.2.tar.gz (49.4 kB view details)

Uploaded Source

File details

Details for the file amino.light.py-0.1.2.tar.gz.

File metadata

  • Download URL: amino.light.py-0.1.2.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for amino.light.py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 affd9dac3ba1bcaefdbeff40291937ce6d366cea3d361c1081fdb6a457fe46da
MD5 4be742674a6cfd40a8bc862d97397d7a
BLAKE2b-256 c43e1274c450fe9fe01a0edef0d146688118ea133740a6995baa8099f351d0df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page