def on_ready():
print('Inkxbot is logged in and online!')
print("discord.py version is " + discord.__version__)
print('--------------------------------')
if not hasattr(bot, 'uptime'):
bot.uptime = datetime.datetime.utcnow()
bot.task = bot.loop.create_task(background_task())
评论列表
文章目录