mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
make pills bold
This commit is contained in:
parent
15526dcc15
commit
2d322e4764
2 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ function createHelpPage(context, title, contents, descriptions){
|
|||
createEmbed("default", context, {
|
||||
description: `${title}\n\n` +
|
||||
renderCommandList(contents, descriptions) +
|
||||
`\n\n${icon("question")} Use ${highlight(`${context.commandClient.prefixes.custom.first()}help <command>`)} to view more information about a command.`
|
||||
`\n\n${icon("question")} Use **${highlight(`${context.commandClient.prefixes.custom.first()}help <command>`)}** to view more information about a command.`
|
||||
})
|
||||
]
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ function renderCommandList(commands, descriptions, limit){
|
|||
if(desc.includes('\n')) desc = desc.split('\n')[0]
|
||||
if(desc.length >= 41) desc = desc.substr(0, 40) + '...'
|
||||
|
||||
render.push(` \` ${c}${' '.repeat(pad)}\` ${desc}`)
|
||||
render.push(` **\` ${c}${' '.repeat(pad)}\`** ${desc}`)
|
||||
i++
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ function createCommandPage(context, prefix, command){
|
|||
alias = ''
|
||||
if(command.aliases.length >= 1) alias = ' ` ' + command.aliases.join(' ` ` ') + ' `\n'
|
||||
let page = createEmbed("default", context, {
|
||||
description: `${icon("command")} \` ${command.name} \`\n${alias}\n${command.metadata.description}`,
|
||||
description: `${icon("command")} **\` ${command.name} \`**\n${alias}\n${command.metadata.description}`,
|
||||
fields: []
|
||||
})
|
||||
|
||||
|
|
|
@ -25,5 +25,5 @@ module.exports.timestamp = function(time, flag = "t"){
|
|||
|
||||
module.exports.iconPill = function(icon, content){
|
||||
if(!ICONS[icon]) icon = "question"
|
||||
return ICONS[icon] + ' ' + "` " + content + " `"
|
||||
return ICONS[icon] + " **` " + content + " `**"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue