mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-21 20:37:03 -04:00
[nextgen] mostly implemented
This commit is contained in:
parent
4e62cecf0f
commit
f226d7170a
12 changed files with 194 additions and 50 deletions
|
@ -2,7 +2,8 @@ const { movie } = require('#api');
|
|||
const { paginator } = require('#client');
|
||||
const { PERMISSION_GROUPS, OMNI_ANIME_FORMAT_TYPES, OMNI_MOVIE_TYPES } = require('#constants');
|
||||
|
||||
const { createEmbed, formatPaginationEmbeds, page, hexToEmbedColor } = require('#utils/embed');
|
||||
const { hexToDecimalColor } = require("#utils/color");
|
||||
const { createEmbed, formatPaginationEmbeds, page } = require('#utils/embed');
|
||||
const { acknowledge } = require('#utils/interactions');
|
||||
const { smallPill, pill } = require('#utils/markdown');
|
||||
const { editOrReply } = require('#utils/message');
|
||||
|
@ -28,7 +29,7 @@ function renderMovieResultsPage(context, res){
|
|||
if(res.image) result.image = { url: res.image };
|
||||
|
||||
// Render Color
|
||||
if(res.color) result.color = hexToEmbedColor(res.color);
|
||||
if(res.color) result.color = hexToDecimalColor(res.color);
|
||||
|
||||
return page(result);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue