We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b87f85 commit 4866f9eCopy full SHA for 4866f9e
Node/lib/Message.js
@@ -47,7 +47,7 @@ var Message = (function () {
47
return this;
48
};
49
Message.randomPrompt = function (prompts) {
50
- var i = Math.round(Math.random() * prompts.length);
+ var i = Math.floor(Math.random() * prompts.length);
51
return prompts[i];
52
53
Message.composePrompt = function (ses, prompts, args) {
Node/package.json
@@ -2,7 +2,7 @@
2
"name": "botbuilder",
3
"author": "Microsoft Corp.",
4
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.",
5
- "version": "0.9.0",
+ "version": "0.9.1",
6
"license": "MIT",
7
"keywords": [
8
"botbuilder",
0 commit comments