Spaces:
Runtime error
Runtime error
Update app.py
Browse files60 unmodified lines616263646465666760 unmodified lines
## /echo command to return the llm repsonse ##
@bot.hybrid_command(name="cryptocoinsearch", description="Type /cryptocoinsearch with the cryptocurrency TICKER or SYMBOL for a detailed report NOTE: 2 or 3 mins")@bot.hybrid_command(name="cryptocoinsearch", description="Enter the cryptocurrency TICKER or SYMBOL - NOTE: 2 or 3 mins for output")async def chat(ctx, symbol: str, coin_name: str = None): # Add the optional parameter CoinName if len(symbol) > 5: await ctx.send("The symbol should be at most 5 characters long.")app.py+1-1