Compare commits

..

2 commits

Author SHA1 Message Date
3d0d38eb30
remove test stuff
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-03 03:28:09 +02:00
0f9179d3ec
drone deploy for dev
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-03 03:24:56 +02:00
2 changed files with 20 additions and 2 deletions

View file

@ -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
View file

@ -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)