From ab182b45d084df47d5bd62e5078e3ebdaba3835c Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Sun, 24 Sep 2023 14:17:29 -0700 Subject: [PATCH] Rolling my token and taking it off github finally --- .gitignore | 1 + Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bf38d7cc..2d9272be 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ __pycache__ *env *conflict* *syncthing* +.env diff --git a/Makefile b/Makefile index c90a8cb0..ed60282c 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ +include .env + format: docker run --rm -ti -v ${PWD}:/tmp/python/app python:alpine sh -c "cd /tmp/python; pip install -q black; black ." clean: docker rm -f dragon-bot-test - rm -vr app/__pycache__ app/cogs/__pycache__ -discord_token := "MzQ1MjkwMTI5OTQ4Mjc4Nzg0.G16mG8.vxgQLwnbusG9fSlXvAFV0wTUmRsJJlPnQ3bpco" DRAGON_ENV := "test" 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 \ No newline at end of file