diff options
| author | 2021-09-07 07:34:57 -0400 | |
|---|---|---|
| committer | 2021-09-07 07:34:57 -0400 | |
| commit | 1e711f3e04c6e6adb66159ffbdc4f72740b62fd7 (patch) | |
| tree | af1eae3a95b557ee27cf7577b67b8fecf90b1752 /bot/utils/halloween/spookifications.py | |
| parent | Added ryanzec_colours.json constructed from ryanzec/name-that-color (diff) | |
| parent | Continue work in progress (diff) | |
Fixing merge conflicts
Diffstat (limited to 'bot/utils/halloween/spookifications.py')
| -rw-r--r-- | bot/utils/halloween/spookifications.py | 4 |
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)) |