Capturing user information when executing Bot Commands #2324
Unanswered
fabioascoelho
asked this question in
Q&A
Replies: 1 comment
-
|
Hi, I think there is no such command to listen to. As no one needed. If you are executing trigger on command via It would be easier if you could have a quick call chat for FREE on discord just and explain what exactly you are trying to achieve there, perhaps there is better approach just. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Live Helper Chat team and community,
I'm working with Bot Commands configured through the chat interface and need to capture information about the user who executes the command, not the chat owner/operator.
In my scenario, Bot Commands are executed by other users (not the main operator), and I need to identify who triggered each command to log this action or perform specific operations based on the executor.
I tried creating a custom function to capture this information, but encountered two obstacles. First, I couldn't find a specific Hook for the command execution event through the interface. Second, the executor user context doesn't appear to be passed in the available parameters for the function.
My questions are: Is there any Hook or event that gets triggered when a Bot Command is executed? Do the parameters of this event include information about the user who executed the command? Is there any alternative way to capture this executor information within the bot flow?
Any guidance on how to access this data would be very helpful. Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions