diff --git a/.drone.yml b/.drone.yml index 854b09b..5be9a4c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -69,4 +69,22 @@ steps: event: include: - push -# test \ No newline at end of file +- 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 \ No newline at end of file diff --git a/bot.py b/bot.py index 04f4655..29c7387 100644 --- a/bot.py +++ b/bot.py @@ -73,7 +73,7 @@ async def on_command_error(ctx, error): @bot.event async def on_ready(): 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) await bot.change_presence(status=discord.Status.online, activity=activity)