An API wrapper for BotiCord API written in Python
Find a file
2021-09-10 15:54:11 +03:00
boticordpy add headers 2021-09-10 15:54:11 +03:00
boticordpy.egg-info pypi build 1.3.6 2021-09-09 17:34:40 +03:00
docs update docs-quickstart 2021-09-09 17:40:35 +03:00
examples change on_connect to on_ready 2021-09-09 17:24:41 +03:00
.gitignore fix setup.py 2021-08-24 21:20:10 +03:00
LICENSE.txt fix setup.py 2021-08-24 21:20:10 +03:00
README.md change on_connect to on_ready 2021-09-09 17:24:41 +03:00
requirements.txt fix setup.py 2021-08-24 21:20:10 +03:00
setuo.cfg fix setup.py 2021-08-24 21:20:10 +03:00
setup.py update post stats method 2021-09-09 17:27:12 +03:00

Boticordpy

Модуль для работы с Boticord API



Примеры

Публикуем статистику нашего бота в Boticord.

from discord.ext import commands

from boticordpy import BoticordClient

bot = commands.Bot(command_prefix="!")
boticord = BoticordClient(bot, "your-boticord-token")


@bot.event
async def on_ready():
    stats = {"servers": len(bot.guilds), "shards": bot.shard_count, "users": len(bot.users)}
    await boticord.Bots.postStats(stats)


bot.run("your-bot-token")