Skip to content

Commit

Permalink
Merge pull request #84 from ProbablyButter/main
Browse files Browse the repository at this point in the history
added zookie resources
  • Loading branch information
makayla-moster authored Nov 26, 2024
2 parents 6ac8ad2 + d436e82 commit 3c70c3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cog_modules/random/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from dotenv import load_dotenv

from gizmopics import *
from resources import gizmoResources, taoResources
from resources import gizmoResources, taoResources, zookieResources

load_dotenv()
CATS = os.getenv("x-api-key")
Expand Down
6 changes: 6 additions & 0 deletions resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@
taoResources = pickle.load(f)
except FileNotFoundError:
taoResources = Counter()

try:
with open("zookieResources", "rb") as f:
zookieResources = pickle.load(f)
except FileNotFoundError:
zookieResources = Counter()

0 comments on commit 3c70c3b

Please sign in to comment.