Skip to content

Commit 1d4b2b8

Browse files
fix doggo
1 parent 7a750e3 commit 1d4b2b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doggo.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ async def run(self, params):
4848

4949
class Trick:
5050
def __init__(self, dog, name, description, file):
51+
self.name = name
52+
self.description = description
53+
self.file = file
5154
self.dog = dog
5255

5356
async def act(self, params):
@@ -57,7 +60,7 @@ def tool(self):
5760
return Tool(
5861
name=self.name,
5962
description=self.description,
60-
parameters=self.parameters,
63+
filepath=self.file,
6164
callback=self.act,
6265
awake=True,
6366
)

0 commit comments

Comments
 (0)