Skip to main content

A meower bot lib for py

Project description

MeowerBot.py

A bot lib for Meower

License

see LICENSE

docs

The Docs are located here

Quick Example

from MeowerBot import Bot


bot = Bot(debug=False)


def handle_db_msg(message: Dict, bot:Bot=bot) -> None:
	if message['u'] == "Discord" and ": " in message['p']:
		message['u'] = message['p'].split(": ")[0]
		message['p'] = message['p'].split(": ")[1]

	if message['u'] == "Webhooks" and ": " in message['p']: # Webhooks should not be supported other then spliting the username off the post (so a webhooks user can still run things)
		message['p'] = message['p'].split(": ")  
		
bot.callback("post", handle_db_msg)

bot.start("username", "password")

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

MeowerBot-2.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

MeowerBot-2.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file MeowerBot-2.1.0.tar.gz.

File metadata

  • Download URL: MeowerBot-2.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-1018-raspi

File hashes

Hashes for MeowerBot-2.1.0.tar.gz
Algorithm Hash digest
SHA256 57fc4f01b7f6aafd85681e12e5231fe9ccaad395cce46dccf963af548cc4c88c
MD5 df6b0455b1f5a89346bf7fe82cf9df41
BLAKE2b-256 0550030943787f7b7ccadd00cafafb4e54b1952e8724fc5a45d8c5b602418b60

See more details on using hashes here.

File details

Details for the file MeowerBot-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: MeowerBot-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-1018-raspi

File hashes

Hashes for MeowerBot-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78505fb8dbf7a34531d338822eaf7d6cdbf190a0d9b4379e82ebc9d9909dc109
MD5 53cacdfbda42f6d4adb6c1750dc84ce3
BLAKE2b-256 341b6905db2e0738fd33a8bca3aaf0bcfb35c4b2ee1bf6987e69e675a224d233

See more details on using hashes here.

Supported by

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