From 95f76dab8a47d7dcb1ea36d0a38aa938441e2e84 Mon Sep 17 00:00:00 2001 From: vintro Date: Mon, 11 Mar 2024 11:47:52 -0400 Subject: [PATCH] update example to use right function --- example/discord/honcho-fact-memory/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/discord/honcho-fact-memory/bot.py b/example/discord/honcho-fact-memory/bot.py index a72e54a..6159e97 100644 --- a/example/discord/honcho-fact-memory/bot.py +++ b/example/discord/honcho-fact-memory/bot.py @@ -43,7 +43,7 @@ async def on_message(message): return user_id = f"discord_{str(message.author.id)}" - user = honcho.get_or_create(user_id) + user = honcho.get_or_create_user(user_id) location_id = str(message.channel.id) sessions = list(user.get_sessions_generator(location_id))