De meme, de legende
pip install -U discord.py
pip install -U python-dotenv
git clone [email protected]:felixcoperus/iwalden.git
cd iwalden/
touch .env
Put the following in .env:
DISCORD_TOKEN={token}
python bot.py
nohup python -u /home/<user>/git/iwalden/bot.py > program.out 2>&1 &
Or when in venv:
nohup /path/to/venv/bin/python -u /home/<user>/git/iwalden/bot.py > program.out 2>&1 &