add omnisearch for movies&tv

This commit is contained in:
bignutty 2025-01-03 17:27:29 +01:00
parent d6b3239e4c
commit 6ddf9829ab
5 changed files with 98 additions and 4 deletions

View file

@ -180,10 +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){
return {
module.exports.page = function(embed, message = {}){
return Object.assign(message, {
embeds: [embed]
}
})
}
module.exports.hexToEmbedColor = (color)=>{