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
Release history Release notifications | RSS feed
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.0.0.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for MeowerBot-2.0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c0d9287dd6c059f7e6943b1cde8a5b6c25c13f3adfcc4580d3711cccaa2bde5 |
|
MD5 | 2246d3c9985084d4d895cd8d7701e23e |
|
BLAKE2b-256 | 966e1d5228f11399146dadf0e8e527738e4d70aec02a3fd7c86ba6fb4ec4ef44 |