mirror of
https://github.com/boticord/boticordpy.git
synced 2024-11-14 20:37:29 +03:00
15 lines
281 B
Python
15 lines
281 B
Python
|
from discord.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")
|