made python unbuffered and added some status prints
This commit is contained in:
parent
a62948a4d9
commit
5817492603
2 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,8 @@ BOT_DATA_DIR = os.getenv('BOT_DATA_DIR', '')
|
|||
# Setup Bot
|
||||
bot = commands.Bot(command_prefix='!')
|
||||
|
||||
print("bot starting ...")
|
||||
|
||||
# Bot Initialization
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
|
@ -337,3 +339,4 @@ async def roll(ctx, *, value: str = False):
|
|||
|
||||
|
||||
bot.run(TOKEN)
|
||||
print("script end")
|
||||
|
|
|
@ -6,6 +6,7 @@ services:
|
|||
restart: unless-stopped
|
||||
environment:
|
||||
BOT_TOKEN: "${TOKEN}"
|
||||
PYTHONUNBUFFERED: "1"
|
||||
volumes:
|
||||
- /root/friends/docker-volumes/oh-fortuna:/OhFortuna/data
|
||||
deploy:
|
||||
|
|
Loading…
Add table
Reference in a new issue