diff --git a/app/help_methods.py b/app/help_methods.py index 7dfb9b88..05057a4a 100644 --- a/app/help_methods.py +++ b/app/help_methods.py @@ -189,7 +189,7 @@ def get_help_embed(bot): description2 = "**Use `!help ` for more information about a command.** \n\n" + \ "**Examples:** \n `!help dog` for detailed help for the dog command \n\n" + \ "**Useful links:** [My source code](http://git.luker.gq/ldooks/dragon-bot), [Server status](http://luker.gq/status), [Donate](http://luker.gq/donate) \n\n" + \ - "**Invite me to another server:** [Click here](https://discord.com/oauth2/authorize?client_id=391781301419638784&scope=bot)" + "**Invite me to another server:** [Click here](https://discord.com/oauth2/authorize?client_id=%s&scope=bot)" % bot.user.id embed.add_field(name="\u200b", value=description2, inline=False) return embed diff --git a/pull_and_run_latest.sh b/pull_and_run_latest.sh index 920aa2da..f47f05c1 100755 --- a/pull_and_run_latest.sh +++ b/pull_and_run_latest.sh @@ -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 -v /var/run/docker.sock:/var/run/docker.sock --restart always ldooks/dragon-bot:latest +docker run -d --name dragon-bot --env-file /home/ldooks/dragon_bot_env --restart always ldooks/dragon-bot:latest printf "[+] Done\n" diff --git a/test-dragon-bot.sh b/test-dragon-bot.sh index 119e6b2c..244ba8e0 100755 --- a/test-dragon-bot.sh +++ b/test-dragon-bot.sh @@ -6,4 +6,4 @@ printf "[+] Done\n" printf "\n[-] Running dragon bot in test mode\n" docker build -f ./Dockerfile-test-env -t dragon-bot-test . || exit -docker run -ti --rm --name dragon-bot-test -e DRAGON_ENV=test -e token="MzQ1MjkwMTI5OTQ4Mjc4Nzg0.DG5IBw._9umb82PrL22bPe7GjmHClU-NtU" -v /var/run/docker.sock:/var/run/docker.sock dragon-bot-test sh +docker run -ti --rm --name dragon-bot-test -e DRAGON_ENV=test -e token="MzQ1MjkwMTI5OTQ4Mjc4Nzg0.DG5IBw._9umb82PrL22bPe7GjmHClU-NtU" dragon-bot-test sh