diff --git a/community/bot.py b/community/bot.py index 8d9ffa3..f5604c6 100644 --- a/community/bot.py +++ b/community/bot.py @@ -1629,7 +1629,7 @@ class CommunityBot(Plugin): purge_list[user].append(roomname) else: purge_list[user].append(room) - time.sleep("sleep") + await asyncio.sleep(self.config["sleep"]) except MNotFound: pass except Exception as e: