Compare commits

...

2 Commits

Author SHA1 Message Date
tamservo
069d2ca7d0 Merge branch 'main' of https://git.sdf.org/tamservo/robottas
fix workflow testing branch issue.
2025-01-09 14:37:37 -05:00
tamservo
72f96a493b fixed silly comparison error. 2025-01-09 14:36:29 -05:00

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