c# - Microsoft Bot Framework Bot duplicate responses in Slack -
i have simple code test bot responses in rooddialog.cs code:
if (activity.text.trim().tolower() == "--hi") { imessageactivity replymessage = context.makemessage(); replymessage.text = $"hello {activity.from.name}"; await context.postasync(replymessage); }
works expected in skype, emulator , facebook messenger, sends duplicate response messages ("hello {name}") in slack.
i think either slack configuration or bot framework issue. seen , resolved this?
thanks
thanks howdy developers found issue.
it happens when bot has been authorized team, , else comes in , authorizes bot again. when happens, seems there 2 bots running use same rtm connection post channel twice.
i don't know how got 2 bots in same slack client. once removed , reinstalled bot started working expected.
same issue causing other symptom: microsoft bot framework idialogcontext.call() not working when using slack
Comments
Post a Comment