更新时间:2023-01-17 23:03:42
但是,在使用此代码保存机器人后,您可能需要重新启动 PC.
However, you may need a PC restart after saving the bot with this code.
@client.command()
@commands.is_owner()
async def shutdown(ctx):
await ctx.bot.logout()
我希望这对你有用并且我可以提供帮助.
I hope this works for you and that I could help.