aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/halloween/spookifications.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-09-05 13:40:16 -0700
committerGravatar GitHub <[email protected]>2021-09-05 13:40:16 -0700
commitda43ac4255fb255cc1feb9b146e1d8faa68858f6 (patch)
tree9c5a1e8d4543ade9946fe86da17fc69b83ba1a81 /bot/utils/halloween/spookifications.py
parentFix issues occured while deploying [no ci] (diff)
parentMerge pull request #853 from python-discord/post-restructure-fix (diff)
Merge branch 'main' into color-677
Diffstat (limited to '')
-rw-r--r--bot/utils/halloween/spookifications.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/utils/halloween/spookifications.py b/bot/utils/halloween/spookifications.py
index f69dd6fd..93c5ddb9 100644
--- a/bot/utils/halloween/spookifications.py
+++ b/bot/utils/halloween/spookifications.py
@@ -22,7 +22,7 @@ def pentagram(im: Image) -> Image:
"""Adds pentagram to the image."""
im = im.convert("RGB")
wt, ht = im.size
- penta = Image.open("bot/resources/halloween/bloody-pentagram.png")
+ penta = Image.open("bot/resources/holidays/halloween/bloody-pentagram.png")
penta = penta.resize((wt, ht))
im.paste(penta, (0, 0), penta)
return im
@@ -37,7 +37,7 @@ def bat(im: Image) -> Image:
"""
im = im.convert("RGB")
wt, ht = im.size
- bat = Image.open("bot/resources/halloween/bat-clipart.png")
+ bat = Image.open("bot/resources/holidays/halloween/bat-clipart.png")
bat_size = randint(wt//10, wt//7)
rot = randint(0, 90)
bat = bat.resize((bat_size, bat_size))