A meower bot lib for py
Project description
MeowerBot.py
A Python Bot libary with an API like nextcord or discord.py, but instead of discord, it is made for the FOSS Social media Meower
Examples
from MeowerBot import Bot
from MeowerBot.context import Context
import logging
from dotenv import load_dotenv # type: ignore
load_dotenv() # type: ignore
from os import environ as env
from MeowerBot.ext.help import Help as HelpExt
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("websockets.client").setLevel(level=logging.INFO)
bot = Bot()
@bot.event
async def login(t):
print("Logged in!")
@bot.command(name="ping")
async def ping(ctx: Context):
await ctx.send_msg("Pong!\n My latency is: " + str(bot.latency))
bot.register_cog(HelpExt(bot))
bot.run(env["uname"], env["pswd"])
That example may be outdated. if it is outdated, the correct version is in here
Extra links
There are extra examples here The docs are located on my domain made with sphinx. They are located here MeowerBot.py's LICENSE
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-3.1.1.tar.gz
(12.2 kB
view hashes)
Built Distribution
meowerbot-3.1.1-py3-none-any.whl
(16.8 kB
view hashes)
Close
Hashes for meowerbot-3.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361289efc24e094ea0ff9efb75e07c5a829cdd3fb44f40c2e0f1b537a706bfeb |
|
MD5 | 5a3842771477eaca2f1d641cc76275fc |
|
BLAKE2b-256 | a12dbf24a5535f3ec60d14b4b686ee8762aa3bf1025dfd65e36d852bdd86e6ce |