Any ability to capture @someone and store it into a variable?
Any ability to capture @someone and store it into a variable?
Hello guys, we leverage a bot function that allows us to /ping @"someone in the company" where "someone in the company" is replaced by a firstname lastname discovered automatically by symphony.
Is there any ability for us to capture the @username into a variable? I'm thinking it would be `user_details.user_attributes.display_name` from the `UserService` but wondering if anyone has any other ideas on how this would be done?
The end goal would be to be able to /send @someone in the company and be able to replay the user's name. We'd also want to do some type of validation to make sure it's an actual user because right now we have a regex that just captures anything @someone and it's not ideal since it can be spoofed.
Thanks!
Hello guys, we leverage a bot function that allows us to /ping @"someone in the company" where "someone in the company" is replaced by a firstname lastname discovered automatically by symphony.
Is there any ability for us to capture that into a variable? I'm thinking it would be `user_details.user_attributes.display_name` from the `UserService` but wondering if anyone has any other ideas on how this would be done?
The end goal would be to be able to /send @someone in the company and be able to replay the user's name. We'd also want to do some type of validation to make sure it's an actual user because right now we have a regex that just captures anything @someone and it's not ideal since it can be spoofed.
Thanks!
#question
Any ability to capture @someone and store it into a variable?
Hello guys, we leverage a bot function that allows us to /ping @"someone in the company" where "someone in the company" is replaced by a firstname lastname discovered automatically by symphony.
Is there any ability for us to capture that into a variable? I'm thinking it would be `user_details.user_attributes.display_name` from the `UserService` but wondering if anyone has any other ideas on how this would be done?
The end goal would be to be able to /send @someone in the company and be able to replay the user's name. We'd also want to do some type of validation to make sure it's an actual user because right now we have a regex that just captures anything @someone and it's not ideal since it can be spoofed.
Thanks!