Compare commits
No commits in common. "6e35a7c32b83c48a74db1367b89125d08b1de653" and "9e18b3a0be76a8002ffaf84e88950a6bd0697abc" have entirely different histories.
6e35a7c32b
...
9e18b3a0be
2 changed files with 1 additions and 36 deletions
35
.drone.yml
35
.drone.yml
|
@ -34,39 +34,4 @@ 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
2
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue