From 26bb07f7b8c3e95c729898c45a1846f8e5b26873 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sat, 29 Jan 2022 18:33:35 +0100 Subject: [PATCH] fix error --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 856db28..291a315 100644 --- a/bot.py +++ b/bot.py @@ -259,8 +259,8 @@ async def stop(ctx): now_time = datetime.datetime.utcnow().replace(microsecond=0) then_time = start_msg.created_at.replace(microsecond=0) dauer = str(now_time - then_time) - for m in client.get_channel(435869507123281920).members: - await m.move_to(client.get_channel(801869864745697280)) + for m in bot.get_channel(435869507123281920).members: + await m.move_to(bot.get_channel(801869864745697280)) await start_msg.edit(content=":game_die: **INFO: PnP Sitzung beendet!** Dauer: %s" % dauer) @bot.command(help="bringt dich ins Labor :)", usage="")