https://discord.gg/botpress logo
Hook does not get executed properly
# 🤝help
c
Hello, I submitted report_01K3NDEK6WGJBQRCTV8NY8S9R5 I used code from https://discord.com/channels/1108396290624213082/1402028486054514718/1402289495180578827 to removal citation numbers, in a "before outgoing" hook, but the removal was not properly working, leaving some whitespaces that should have been captured by the regex. I tried to do additional tests by changing the string replace() to replace the citation mark by "ZZZ", but it does not get executed: the quotation mark are removed, but not replaced by "ZZZ". Seems that there is some (invisible?) code executed in parallel, or older hook version, or so, that removes quotations marks, but not actually by the hook I created. Thanks for your help!
3 Views