Sorry for my late response!
You can just follow the Discord documentation on this after setting up the interactions endpoint URL. It works the same as using the gateway.
This is only possible via the gateway, which currently is an unsupported feature in n8n. There is a community node for it, but it has some issues with triggers making it not work as it should.