boticordpy/examples/disnake/postdata.py
2021-10-03 16:57:14 +03:00

14 lines
281 B
Python

from disnake.ext import commands
from boticordpy import BoticordClient
bot = commands.Bot(command_prefix="!")
boticord = BoticordClient(bot, "your-boticord-token", lib="disnake")
@bot.event
async def on_ready():
await boticord.Bots.post_stats()
bot.run("your-bot-token")