diff options
author | 2023-11-13 14:43:34 +0000 | |
---|---|---|
committer | 2023-11-13 14:43:34 +0000 | |
commit | eed1a172c9c5e2000d933da9200259b1b7e4be87 (patch) | |
tree | d30020e77e59a891cb36f6f2ce922eef16535c28 /bot/utils/halloween/spookifications.py | |
parent | Bump sentry-sdk from 1.34.0 to 1.35.0 (#1396) (diff) | |
parent | Lint repo with new ruff rules (diff) |
Merge pull request #1395 from python-discord/dependabot/pip/ruff-0.1.5
Bump ruff from 0.1.4 to 0.1.5
Diffstat (limited to 'bot/utils/halloween/spookifications.py')
-rw-r--r-- | bot/utils/halloween/spookifications.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/utils/halloween/spookifications.py b/bot/utils/halloween/spookifications.py index b0c139e6..2f8c1448 100644 --- a/bot/utils/halloween/spookifications.py +++ b/bot/utils/halloween/spookifications.py @@ -29,13 +29,13 @@ def pentagram(im: Image.Image) -> Image.Image: def bat(im: Image.Image) -> Image.Image: """ - Adds a bat silhoutte to the image. + Adds a bat silhouette to the image. - The bat silhoutte is of a size at least one-fifths that of the original image and may be rotated + The bat silhouette is of a size at least one-fifths that of the original image and may be rotated up to 90 degrees anti-clockwise. """ im = im.convert("RGB") - wt, ht = im.size + wt, _ = im.size bat = Image.open("bot/resources/holidays/halloween/bat-clipart.png") bat_size = randint(wt//10, wt//7) rot = randint(0, 90) |