From ca17a7333be74c9dc2aeb3ff64f698eb582f5ac8 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Sun, 20 Jun 2021 11:45:34 +0200 Subject: [PATCH 1/3] Bump python version --- .python-version | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.python-version b/.python-version index 6cbdc99..ab6a255 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.6.9 \ No newline at end of file +3.9.5 \ No newline at end of file diff --git a/readme.md b/readme.md index 76e5796..2c2e678 100644 --- a/readme.md +++ b/readme.md @@ -66,7 +66,7 @@ async def command_name(self, ctx): This allows commands across multiple Cogs to be classified under the same category in the help page. ### Python Version -Didier uses `Python 3.6.9`. Seeing as updating Python on a Raspberry Pi is a _huge pain_, this will not change. As a result, you are expected to write code that is compatible with this version. When initially creating the PyCharm project, set `3.6.9` as your project interpreter. +Didier uses `Python 3.9.5`, the most recent one as of the writing of this sentence. The reasoning behind this is that I hope it'll last for a while so I don't have to update it all the time. ### Ignored Files `ignored.md` contains a list of all ignored files, and what they look like. This way, you can recreate these files locally to test commands that use them. API keys should be stored in `environment variables`. To do so, create a file called `.env` in the root of this repository (which has already been added to `.gitignore`) and make sure the names match. From 92a82a71753331e36550020adcebfab3013c75b7 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Sun, 20 Jun 2021 11:48:30 +0200 Subject: [PATCH 2/3] Update quart & cors versions --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2980dd3..77d3ae8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,5 +13,5 @@ tabulate==0.8.7 yarl==1.4.2 feedparser==6.0.2 googletrans==4.0.0rc1 -quart==0.6.15 -Quart-CORS==0.1.3 \ No newline at end of file +quart==0.15.1 +Quart-CORS==0.5.0 \ No newline at end of file From f2b4abd4d28207e12ae51531d9d011f2aaac4bca Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Sun, 20 Jun 2021 11:50:46 +0200 Subject: [PATCH 3/3] Add env template --- ignored.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ignored.md b/ignored.md index ce73183..5560866 100644 --- a/ignored.md +++ b/ignored.md @@ -4,6 +4,26 @@ A list of all ignored files with copy-pastable templates. Useful for when you wa These are usually files which would be overkill to make a PSQL table for. Other possibilities are files that are never edited, but should be different on every machine. +### .env + +```.env +SANDBOX=true + +URBANDICTIONARY="" +IMGFLIPNAME="" +IMGFLIPPASSWORD="" + +DBUSERNAME="" +DBPASSWORD="" +DBHOST="" +DBNAME="" + +TOKEN="" +HOSTIPC=false +READYMESSAGE="" +STATUSMESSAGE="" +``` + ### files/hangman.json Contains info on the current Hangman game.