Compare commits
2 commits
6e35a7c32b
...
3d0d38eb30
Author | SHA1 | Date | |
---|---|---|---|
3d0d38eb30 | |||
0f9179d3ec |
2 changed files with 20 additions and 2 deletions
20
.drone.yml
20
.drone.yml
|
@ -69,4 +69,22 @@ steps:
|
||||||
event:
|
event:
|
||||||
include:
|
include:
|
||||||
- push
|
- push
|
||||||
# test
|
- name: deploy dev
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
- s.ar21.de
|
||||||
|
username: root
|
||||||
|
key:
|
||||||
|
from_secret: DEPLOY_SSH_KEY
|
||||||
|
port: 22
|
||||||
|
command_timeout: 2m
|
||||||
|
script:
|
||||||
|
- cd /root && docker-compose -f shbot-dev.yaml pull shbot-dev && docker-compose -f shbot-dev.yaml up -d shbot-dev
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
include:
|
||||||
|
- dev
|
||||||
|
event:
|
||||||
|
include:
|
||||||
|
- push
|
2
bot.py
2
bot.py
|
@ -73,7 +73,7 @@ async def on_command_error(ctx, error):
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
print("Bot ready on Version %s..." % discord.__version__)
|
print("Bot ready on Version %s..." % discord.__version__)
|
||||||
activity = discord.Activity(name='%shund' % prefix, type=discord.ActivityType.listening)
|
activity = discord.Activity(name='%shelp' % prefix, type=discord.ActivityType.listening)
|
||||||
#activity = discord.Game('%shelp for Help' % prefix)
|
#activity = discord.Game('%shelp for Help' % prefix)
|
||||||
await bot.change_presence(status=discord.Status.online, activity=activity)
|
await bot.change_presence(status=discord.Status.online, activity=activity)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue