How can a Discord bot be made to accept commands sent by a webhook? (Python)

106 Views Asked by At

I have a python Discord bot that has several commands, and also has a webhook that sends information from a third-party service. However, the Discord bot ignores the commands entered by the webhook, without sending anything to the console. There are no attempts to access the User in the code itself (obviously there is no User). Is it possible to implement this somehow? enter image description here

I tried to find information about this somewhere, but either I searched badly or there is none.

1

There are 1 best solutions below

0
Talpa On

webhooks are essentially a console logging of POST requests sent to discord's servers

your bot cannot receive commands sent to a webhook.