如何断开discord.py(self)bot?

我正在创建一个将为多个用户运行的Discord自我机器人,因此每次用户完成机器人时都需要断开连接 . Is there any way I can programmatically disconnect the selfbot from the user's account without stopping the entire application?

提前致谢,

ICT :)

回答(1)