mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
[nextgen] initial cardstack work
This commit is contained in:
parent
858a810e86
commit
043c65a36c
4 changed files with 367 additions and 11 deletions
|
@ -180,9 +180,10 @@ module.exports.formatPaginationEmbeds = function(embeds){
|
|||
}
|
||||
|
||||
// Creates a page for our paginator. simple helper so we dont have to do {embeds:[]} every time
|
||||
module.exports.page = function(embed, message = {}){
|
||||
module.exports.page = function(embed, message = {}, metadata = {}){
|
||||
return Object.assign(message, {
|
||||
embeds: [embed]
|
||||
embeds: [embed],
|
||||
_meta: metadata,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue