From 6fec6f8ec306d63076f22c7f3bf98a528419a609 Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 5 Oct 2023 11:19:57 -0400 Subject: [PATCH] discord bot Former-commit-id: 4ec8cc49ee268eec83f67cca78758e9fd4858614 --- apps/discord.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/discord.py b/apps/discord.py index 4e0a9ec2..b0b55860 100644 --- a/apps/discord.py +++ b/apps/discord.py @@ -21,7 +21,7 @@ async def greet(ctx): await ctx.send(f'Hello, {ctx.author.name}!') @bot.command() -async def generate_video(ctx, *, description: str): +async def run(ctx, *, description: str): """Generates a video based on the given description.""" response = agent.run(description) # Assuming the response provides information or a link to the generated video await ctx.send(response) @@ -31,7 +31,7 @@ async def help_me(ctx): """Provides a list of commands and their descriptions.""" help_text = """ - `!greet`: Greets you. - - `!generate_video [description]`: Generates a video based on the given description. + - `!run [description]`: Generates a video based on the given description. - `!help_me`: Provides this list of commands and their descriptions. """ await ctx.send(help_text)