fixed silly comparison error.

This commit is contained in:
tamservo
2025-01-09 14:36:29 -05:00
parent 58fe1cdda6
commit 72f96a493b

View File

@@ -180,7 +180,7 @@ class Robottas(commands.Bot):
self.total_laps = int(data["TotalLaps"])
#Check to see about sending half distance message
if self.current_lap = int(self.total_laps / 2) + 1:
if self.current_lap == int(self.total_laps / 2) + 1:
await self.send_message("We've passed half distance! Has Lance binned it yet?")
# Notify on lap change if matches a driver