fix rcon call with incorrect arguments
All checks were successful
Build and Push Docker Image / build (push) Successful in 11s
All checks were successful
Build and Push Docker Image / build (push) Successful in 11s
This commit is contained in:
parent
226c05526d
commit
78d2c7a850
@ -103,7 +103,7 @@ class ConsoleCog(commands.Cog):
|
||||
for interval_ms in intervals_ms:
|
||||
seconds_remaining = interval_ms / 1000
|
||||
log.info("Planned restart in %s seconds, reason: %s", seconds_remaining, reason)
|
||||
await rcon("Planned restart in %s seconds, reason: %s", seconds_remaining, reason, **self.bot.rcon_details)
|
||||
await rcon(f"Planned restart in {seconds_remaining} seconds, reason: {reason}", **self.bot.rcon_details)
|
||||
while seconds_remaining > 0:
|
||||
await asyncio.sleep(1)
|
||||
seconds_remaining -= 1
|
||||
|
Reference in New Issue
Block a user