mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
add initial anime search work
This commit is contained in:
parent
cc4f57d133
commit
d37a0d46de
4 changed files with 113 additions and 1 deletions
|
@ -181,8 +181,11 @@ 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 {
|
||||
embeds: [embed]
|
||||
}
|
||||
}
|
||||
|
||||
module.exports.hexToEmbedColor = (color)=>{
|
||||
return parseInt(color.split("#")[1], 16)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue