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.3.tar.gz
(12.3 kB
view hashes)
Built Distribution
meowerbot-3.1.3-py3-none-any.whl
(16.9 kB
view hashes)
Close
Hashes for meowerbot-3.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5a5369b7ad18c2c9c93980104c31239e6891987316e18e6869a954c3bc87e41 |
|
MD5 | bf5703888d6118ac33cc82c433ee7107 |
|
BLAKE2b-256 | 18eb65e8d2ef5f3395242bd729fe3d7d6d3ccff85e42da2bc6c83240f0f79a46 |