I have a problem trying to get a webhook to interact with a bot For some reason, the bot doesn't respond to commands initiated by the webhook Is there a way to make sure it initiates? It works normally otherwise
My command:
# registering new commands that can be called by the flask webhook
@client.command()
async def new_message_received(ctx, trade_hash: str = ''):
print(f'New Trade Received! {trade_hash}')
paxful_cogs = client.get_cog('Paxful_Cogs')
await paxful_cogs.new_trade_received(trade_hash=trade_hash)
await ctx.send(f'{trade_hash} executed.')
print(f'Trade Done Execution! {trade_hash}')
My webhooks are sent successfully, but the bot does not respond to them.
Bot Responds to Me, but not to webhook.