Skip to content

Commit

Permalink
Returned bot limits.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Jul 17, 2024
1 parent cfa7aab commit 19387ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ async def coordinates(message: types.Message) -> None:
indicators = ["🟢", "🟢", "🟡", "🔴"]
buttons = {}
# * Slice sizes because VPS can not handle large images.
for size, indicator in zip(sizes, indicators):
for size, indicator in zip(sizes[:2], indicators[:2]):
buttons[f"map_size_{size}"] = f"{indicator} {size} x {size} meters"

dp.message_handlers.unregister(coordinates)
Expand Down

0 comments on commit 19387ce

Please sign in to comment.