Skip to content

Commit

Permalink
Update HelloBot.js
Browse files Browse the repository at this point in the history
Changed the api.Bots.create to API.Bots.create
  • Loading branch information
AugustBrenner committed Nov 26, 2013
1 parent 7428e38 commit 3df39ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/HelloBot/HelloBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if (process.argv.length == 3) {
var GROUP_ID = process.argv[4];
var BOT_NAME = process.argv[5];

api.Bots.create(ACCESS_TOKEN, BOT_NAME, GROUP_ID, {}, function(err,ret) {
API.Bots.create(ACCESS_TOKEN, BOT_NAME, GROUP_ID, {}, function(err,ret) {
if (!err) {
console.log(ret);
} else {
Expand Down

0 comments on commit 3df39ea

Please sign in to comment.