Compare commits

...

2 commits

Author SHA1 Message Date
6e35a7c32b
test
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-03 03:12:46 +02:00
a1c188d1b6
add deploy ci 2022-07-03 03:11:36 +02:00
2 changed files with 36 additions and 1 deletions

View file

@ -34,4 +34,39 @@ steps:
event:
exclude:
- push
- name: dev docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: secondhemd/shbot
tags: dev
when:
branch:
include:
- dev
event:
include:
- push
- name: deploy
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 pull shbot && docker-compose up -d shbot
when:
branch:
include:
- master
event:
include:
- push
# test

2
bot.py
View file

@ -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='%shelp' % prefix, type=discord.ActivityType.listening)
activity = discord.Activity(name='%shund' % prefix, type=discord.ActivityType.listening)
#activity = discord.Game('%shelp for Help' % prefix)
await bot.change_presence(status=discord.Status.online, activity=activity)