Skip to content

Commit

Permalink
update example to use right function
Browse files Browse the repository at this point in the history
  • Loading branch information
vintrocode committed Mar 11, 2024
1 parent 611981f commit 95f76da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/discord/honcho-fact-memory/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 95f76da

Please sign in to comment.