Rolling my token and taking it off github finally

This commit is contained in:
Luke Robles 2023-09-24 14:17:29 -07:00
parent 08c8a8bee8
commit b1659ffc3f
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ __pycache__
*env *env
*conflict* *conflict*
*syncthing* *syncthing*
.env

View File

@ -1,11 +1,11 @@
include .env
format: format:
docker run --rm -ti -v ${PWD}:/tmp/python/app python:alpine sh -c "cd /tmp/python; pip install -q black; black ." docker run --rm -ti -v ${PWD}:/tmp/python/app python:alpine sh -c "cd /tmp/python; pip install -q black; black ."
clean: clean:
docker rm -f dragon-bot-test docker rm -f dragon-bot-test
rm -vr app/__pycache__ app/cogs/__pycache__
discord_token := "MzQ1MjkwMTI5OTQ4Mjc4Nzg0.G16mG8.vxgQLwnbusG9fSlXvAFV0wTUmRsJJlPnQ3bpco"
DRAGON_ENV := "test" DRAGON_ENV := "test"
test: clean format test: clean format
docker run -ti -v ${PWD}/app:/app --rm --name dragon-bot-test -e DRAGON_ENV=${DRAGON_ENV} -e discord_token=${discord_token} dragon-bot-test bash docker run -ti -v ${PWD}/app:/app --rm --name dragon-bot-test -e DRAGON_ENV=${DRAGON_ENV} -e discord_token=${discord_token} dragon-bot-test bash