Skip to content

Commit

Permalink
Catch all commands, even not directed to bot
Browse files Browse the repository at this point in the history
Guy Spronck committed Jun 23, 2016
1 parent 044eadd commit 2b5d26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ let bot = new botgram(process.env.BOT_TOKEN);
console.log("Bot is up and running!");

// Catch-all for commands
bot.command(function(msg, reply, next) {
bot.command(true, function(msg, reply, next) {
application.run(msg, reply);
});

0 comments on commit 2b5d26b

Please sign in to comment.