mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Change **: to :** when bolding lists
This commit is contained in:
@@ -11,7 +11,7 @@ module.exports = class DeviantartCommand extends Command {
|
||||
group: 'search',
|
||||
memberName: 'deviantart',
|
||||
description: 'Responds with an image from a DeviantArt section, with optional query.',
|
||||
details: `**Sections**: ${sections.join(', ')}`,
|
||||
details: `**Sections:** ${sections.join(', ')}`,
|
||||
args: [
|
||||
{
|
||||
key: 'section',
|
||||
|
||||
@@ -41,9 +41,9 @@ module.exports = class ForecastCommand extends Command {
|
||||
for (let i = 0; i < 7; i++) {
|
||||
const forecast = data.item.forecast[i];
|
||||
embed.addField(`❯ ${forecast.day} - ${forecast.date}`, stripIndents`
|
||||
**High**: ${forecast.high}°F
|
||||
**Low**: ${forecast.low}°F
|
||||
**Condition**: ${forecast.text}
|
||||
**High:** ${forecast.high}°F
|
||||
**Low:** ${forecast.low}°F
|
||||
**Condition:** ${forecast.text}
|
||||
`);
|
||||
}
|
||||
return msg.embed(embed);
|
||||
|
||||
@@ -10,7 +10,7 @@ module.exports = class ItunesCommand extends Command {
|
||||
group: 'search',
|
||||
memberName: 'itunes',
|
||||
description: 'Searches iTunes for your query.',
|
||||
details: '**Codes**: <https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes>',
|
||||
details: '**Codes:** <https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes>',
|
||||
clientPermissions: ['EMBED_LINKS'],
|
||||
args: [
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ module.exports = class RecipeCommand extends Command {
|
||||
.setColor(0xC20000)
|
||||
.setURL(recipe.href)
|
||||
.setTitle(recipe.title)
|
||||
.setDescription(`**Ingredients**: ${recipe.ingredients}`)
|
||||
.setDescription(`**Ingredients:** ${recipe.ingredients}`)
|
||||
.setThumbnail(recipe.thumbnail);
|
||||
return msg.embed(embed);
|
||||
} catch (err) {
|
||||
|
||||
@@ -22,6 +22,6 @@ module.exports = class RuleOfTheInternetCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { rule }) {
|
||||
return msg.say(`**Rule #${rule}**: ${rules[rule - 1]}`);
|
||||
return msg.say(`**Rule #${rule}:** ${rules[rule - 1]}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ module.exports = class UrbanDictionaryCommand extends Command {
|
||||
group: 'search',
|
||||
memberName: 'urban-dictionary',
|
||||
description: 'Defines a word, but with Urban Dictionary.',
|
||||
details: `**Types**: ${types.join(', ')}`,
|
||||
details: `**Types:** ${types.join(', ')}`,
|
||||
clientPermissions: ['EMBED_LINKS'],
|
||||
args: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user