mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
finish new design for the remaining commands
This commit is contained in:
parent
37a6c40d30
commit
e89c0e9aad
6 changed files with 15 additions and 7 deletions
|
@ -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}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue