如何在digitalocean上托管我的discord.py bot?

问题描述 投票:0回答:1

我没有找到任何教程,我可以托管一个discord.py机器人在vps服务器上.我用ubuntu的dropplet。

谁能帮帮我?

python hosting digital-ocean discord.py vps
1个回答
0
投票

在VPS上托管机器人的方法和在本地机器上托管一样。

将你的代码导入到VPS,然后使用以下方法运行你的机器人

$ python3 my_bot.py
© www.soinside.com 2019 - 2024. All rights reserved.