Simple Python Module for boticord api
Project description
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_connect():
stats = {"servers": len(bot.guilds), "shards": bot.shard_count, "users": len(bot.users)}
await boticord.Bots.postStats(stats)
bot.run("your-bot-token")
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
boticordpy-1.3.2.tar.gz
(2.5 kB
view hashes)