Metadata-Version: 2.1
Name: meowerbot
Version: 2.0.0
Summary: A meower bot lib for py
Home-page: https://github.com/showierdata9978/MeowerBot
License: MIT
Author: showierdata9978
Author-email: 68120127+showierdata9978@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: cloudlink (==0.1.7.3)
Requires-Dist: requests (>=2.28.0,<3.0.0)
Project-URL: Repository, https://github.com/showierdata9978/MeowerBot
Description-Content-Type: text/markdown

# MeowerBot.py

A bot lib for Meower


## License

see [LICENSE](./LICENSE)


## docs

The Docs are located [here](./docs/callbacks.md)


## Quick Example

```py

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")

```

