Bug Fixes

This commit is contained in:
Luis Fernando Molina committed 2020-02-09 16:35:17 +01:00
1 parent 82bc086e92
commit b1af6e078c
131 files changed
+8597 -1930

No files matched your search

+3 -3
View File
@@ -5,8 +5,8 @@ class Extra {
this.load(opts)
}
load (opts) {
return Object.assign(this, opts || {})
load (opts = {}) {
return Object.assign(this, opts)
}
inReplyTo (messageId) {
@@ -28,7 +28,7 @@ class Extra {
if (typeof markup === 'function') {
markup = markup(new Markup())
}
this.reply_markup = Object.assign({}, markup)
this.reply_markup = { ...markup }
return this
}