fix error

This commit is contained in:
Aaron Riedel 2022-01-29 18:33:35 +01:00
parent e7e23bf0f7
commit 26bb07f7b8

4
bot.py
View file

@ -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="")