Spaces:
Runtime error
Runtime error
Update app.py
Browse files60 unmodified lines616263646566676860 unmodified lines## /echo command to return the llm repsonse ##@bot.hybrid_command(name="cryptoportfolio", description="Enter some text to chat with the bot! Like this: /cryptoportfolio Hello, how are you?")async def chat(ctx, prompt: str):if ctx.author.id == bot.user.id:returntry:60 unmodified lines61626364656667686960 unmodified lines## /echo command to return the llm repsonse ##@bot.hybrid_command(name="cryptosearch", description="Enter text and parameters like this: /cryptosearch 'Hello, how are you?' 'param1' 'param2'")async def chat(ctx, prompt: str, parameter1: str = None, parameter2: str = None):# Your existing code goes hereif ctx.author.id == bot.user.id:returntry:
app.py+3-2