mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-26 14:48:22 -04:00
initial work to support interaction contexts
This commit is contained in:
parent
58790fd034
commit
fb55cbc67d
2 changed files with 8 additions and 4 deletions
|
@ -18,10 +18,7 @@ module.exports = class BasePaginator extends EventEmitter {
|
|||
// Support application command context
|
||||
if(data.context.editOrRespond) {
|
||||
this.editOrRespond = data.context.editOrRespond.bind(data.context)
|
||||
this.editOrReply = (d) => {
|
||||
console.log(d)
|
||||
return this.editOrRespond(d)
|
||||
}
|
||||
this.editOrReply = (d) => this.editOrRespond(d)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue