finish new design for the remaining commands

This commit is contained in:
derpystuff 2023-03-18 14:41:35 +01:00
parent 37a6c40d30
commit e89c0e9aad
6 changed files with 15 additions and 7 deletions

View file

@ -8,7 +8,11 @@ const { wikihow } = require('../../../labscore/api');
function createWikiHowPage(context, result){
let e = createEmbed("default", context, {
description: `**${link(result.link, result.title)}**\n\n${result.snippet}`,
author: {
name: result.title,
url: result.link
},
description: result.snippet,
footer: {
iconUrl: STATICS.wikihow,
text: `WikiHow • ${context.application.name}`