Skip to content

Commit

Permalink
twitter - quick reply support Abhishek Chotaliya committed
Browse files Browse the repository at this point in the history
required changes to support quick reply options for botmaster-twitter-dm module
  • Loading branch information
Abhishek Chotaliya committed Jul 5, 2018
1 parent 8b32c42 commit 0204807
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/botmaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ class Botmaster extends EventEmitter {
getBot(options) {
if (!options ||
(!options.type && !options.id) ||
(options.type && options.id)) {
throw new Error('\'getBot\' needs exactly one of type or id');
}

Expand Down

0 comments on commit 0204807

Please sign in to comment.