From ec5a0233489e0e1b31b8d7cb9b9c569721f3aa32 Mon Sep 17 00:00:00 2001 From: Ske Date: Sat, 21 Jul 2018 00:29:26 +0200 Subject: [PATCH] Fix my idiocy --- bot/pluralkit/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/pluralkit/commands.py b/bot/pluralkit/commands.py index d56a9719..091f422c 100644 --- a/bot/pluralkit/commands.py +++ b/bot/pluralkit/commands.py @@ -554,7 +554,7 @@ async def switch_move(conn, message, args): switch_id = (await db.front_history(conn, system["id"], count=1))[0]["id"] # Change the switch in the DB - await db.move_last_switch(conn, system["id"], switch_id, naive_new_time) + await db.move_last_switch(conn, system["id"], switch_id, new_time) return True, "Switch moved." @command(cmd="mod log", usage="[channel]", description="Sets the bot to log events to a specified channel. Leave blank to disable.", category="Moderation commands")