Refactored Command to add owner
This commit is contained in:
@@ -11,7 +11,10 @@ def say_hello():
|
||||
|
||||
|
||||
# Create the command
|
||||
hello_command = Command("say_hello", "Responds with a greeting", say_hello)
|
||||
hello_command = Command("say_hello",
|
||||
"Responds with a greeting",
|
||||
None,
|
||||
say_hello)
|
||||
|
||||
# Create the app
|
||||
app, rt = create_app(protect_routes=False)
|
||||
|
||||
Reference in New Issue
Block a user