Adjust the directory structure to prepare for merging into Master.

This commit is contained in:
Liu Zhicong
2023-09-27 11:40:46 -07:00
parent 5146bc1871
commit 030e4c4f52
115 changed files with 413 additions and 160 deletions
@@ -0,0 +1,13 @@
from jarvis.functional_modules.functional_module import functional_module, CallerContext
import joke_db
@functional_module(
name="tell_joke",
description="Tell a joke. DO NOT come up with a joke if you call this function, this module will tell one.",
signature={})
async def do_nothing(context: CallerContext):
the_joke = joke_db.random_joke()
await context.reply_text(the_joke)
return the_joke