From 01291f8f5ec09f7002b51818799af831f99cf647 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Sun, 2 Aug 2020 23:18:31 +0200 Subject: [PATCH] :sparkles: Prepare for Heroku --- Gwendolyn.py | 2 +- Procfile | 1 + funcs/miscFuncs.py | 2 +- requirements.txt | 8 ++++++++ 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 Procfile create mode 100644 requirements.txt diff --git a/Gwendolyn.py b/Gwendolyn.py index 8efefe6..f8dec23 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -2,7 +2,7 @@ import discord import asyncio -import pickle +#import pickle import codecs import string import json diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..71d1e54 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +worker: python Gwendolyn.py \ No newline at end of file diff --git a/funcs/miscFuncs.py b/funcs/miscFuncs.py index 388b238..1576482 100644 --- a/funcs/miscFuncs.py +++ b/funcs/miscFuncs.py @@ -2,7 +2,7 @@ import lxml.etree # Used by imageFunc import re # Used by roll_dice import datetime # Used by helloFunc import json # Used by spellFunc -import random # Used by imageFunc +#import random # Used by imageFunc import urllib # Used by imageFunc import imdb # Used by movieFunc import time # Used for logging diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b4facf1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +discord.py==1.3.4 +async-timeout==3.0.1 +lxml==4.5.0 +urllib3==1.25.8 +IMDbPY==6.8 +wikia==1.4.4 +Pillow==7.1.1 +numpy==1.18.2 \ No newline at end of file