Compare commits
2 commits
9331a08b7c
...
5817492603
Author | SHA1 | Date | |
---|---|---|---|
5817492603 | |||
a62948a4d9 |
3 changed files with 6 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
||||||
.env
|
.env
|
||||||
.swp
|
.swp
|
||||||
|
**/.env
|
||||||
|
./.env
|
||||||
|
|
|
@ -26,6 +26,8 @@ BOT_DATA_DIR = os.getenv('BOT_DATA_DIR', '')
|
||||||
# Setup Bot
|
# Setup Bot
|
||||||
bot = commands.Bot(command_prefix='!')
|
bot = commands.Bot(command_prefix='!')
|
||||||
|
|
||||||
|
print("bot starting ...")
|
||||||
|
|
||||||
# Bot Initialization
|
# Bot Initialization
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
|
@ -337,3 +339,4 @@ async def roll(ctx, *, value: str = False):
|
||||||
|
|
||||||
|
|
||||||
bot.run(TOKEN)
|
bot.run(TOKEN)
|
||||||
|
print("script end")
|
||||||
|
|
|
@ -6,6 +6,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
BOT_TOKEN: "${TOKEN}"
|
BOT_TOKEN: "${TOKEN}"
|
||||||
|
PYTHONUNBUFFERED: "1"
|
||||||
volumes:
|
volumes:
|
||||||
- /root/friends/docker-volumes/oh-fortuna:/OhFortuna/data
|
- /root/friends/docker-volumes/oh-fortuna:/OhFortuna/data
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Add table
Reference in a new issue