mirror of
https://git.sdf.org/tamservo/robottas.git
synced 2025-11-08 15:13:47 -05:00
fixed silly comparison error.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user