helpful-hospital-22115
03/19/2024, 1:46 AMhelpful-hospital-22115
03/19/2024, 1:54 AMpy
newQuery = f"{message}"
print(newQuery)
# Define your webhook URL
webhook_url = 'webhookURL'
# Define the data to send in the webhook
data = { 'content': newQuery
,"channel": channelID }
# Define optional headers
headers = {
'Content-Type': 'application/json',
'x-bp-secret': 'B9AlgoRODIE' # Uncomment this line if you have a secret header
}
This is how im sending the webhook i dont beleive this is the problem becasue the information gets added to the table everytime a webhook gets sent.
So im thinking i have something wrong with the botpress side of things.echoing-nest-94161
03/19/2024, 7:43 AMvictorious-daybreak-71592
03/19/2024, 11:07 AMhelpful-hospital-22115
03/19/2024, 12:32 PMhelpful-hospital-22115
03/19/2024, 12:32 PM