Change **: to :** when bolding lists

This commit is contained in:
Daniel Odendahl Jr
2018-09-07 20:47:28 +00:00
parent 2ce04ef2f0
commit 1ac0c405e4
32 changed files with 342 additions and 342 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class HatCommand extends Command {
group: 'avatar-edit',
memberName: 'hat',
description: 'Draws a hat over a user\'s avatar.',
details: `**Hats**: ${hats.join(', ')}`,
details: `**Hats:** ${hats.join(', ')}`,
throttling: {
usages: 1,
duration: 10
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class HoroscopeCommand extends Command {
group: 'events',
memberName: 'horoscope',
description: 'Responds with today\'s horoscope for a specific Zodiac sign.',
details: `**Signs**: ${signs.join(', ')}`,
details: `**Signs:** ${signs.join(', ')}`,
clientPermissions: ['EMBED_LINKS'],
args: [
{
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class HumbleBundleCommand extends Command {
if (body.length > 1) {
return msg.say(stripIndents`
There are **${body.length}** bundles on right now!
${body.map(bundle => `**${bundle.bundle_name}**: <${bundle.url}>`).join('\n')}
${body.map(bundle => `**${bundle.bundle_name}:** <${bundle.url}>`).join('\n')}
`);
}
const data = body[0];
+1 -1
View File
@@ -8,7 +8,7 @@ module.exports = class TimeCommand extends Command {
group: 'events',
memberName: 'time',
description: 'Responds with the current time in a particular location.',
details: '**Zones**: <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>',
details: '**Zones:** <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>',
args: [
{
key: 'timeZone',
+2 -2
View File
@@ -58,8 +58,8 @@ module.exports = class BattleCommand extends Command {
if (!opponent.bot || (opponent.bot && userTurn)) {
await msg.say(stripIndents`
${user}, do you **fight**, **guard**, **special**, or **run**?
**${msg.author.username}**: ${userHP}HP
**${opponent.username}**: ${oppoHP}HP
**${msg.author.username}:** ${userHP}HP
**${opponent.username}:** ${oppoHP}HP
`);
const filter = res =>
res.author.id === user.id && ['fight', 'guard', 'special', 'run'].includes(res.content.toLowerCase());
+2 -2
View File
@@ -57,8 +57,8 @@ module.exports = class EmojiEmojiRevolutionCommand extends Command {
else ++oPts;
await msg.say(stripIndents`
${winner} won this round!
**${msg.author.username}**: ${aPts}
**${opponent.username}**: ${oPts}
**${msg.author.username}:** ${aPts}
**${opponent.username}:** ${oPts}
`);
}
this.playing.delete(msg.channel.id);
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = class MathQuizCommand extends Command {
group: 'games',
memberName: 'math-quiz',
description: 'See how fast you can answer a math problem in a given time limit.',
details: `**Difficulties**: ${difficulties.join(', ')}`,
details: `**Difficulties:** ${difficulties.join(', ')}`,
args: [
{
key: 'difficulty',
+1 -1
View File
@@ -52,7 +52,7 @@ module.exports = class QuizDuelCommand extends Command {
await msg.say(stripIndents`
**You have 15 seconds to answer this question.**
${question.question}
${question.answers.map((answer, i) => `**${choices[i]}**. ${answer}`).join('\n')}
${question.answers.map((answer, i) => `**${choices[i]}.** ${answer}`).join('\n')}
`);
const answered = [];
const filter = res => {
+3 -3
View File
@@ -15,8 +15,8 @@ module.exports = class QuizCommand extends Command {
memberName: 'quiz',
description: 'Answer a quiz question.',
details: stripIndents`
**Types**: ${types.join(', ')}
**Difficulties**: ${difficulties.join(', ')}
**Types:** ${types.join(', ')}
**Difficulties:** ${difficulties.join(', ')}
`,
args: [
{
@@ -57,7 +57,7 @@ module.exports = class QuizCommand extends Command {
await msg.reply(stripIndents`
**You have 15 seconds to answer this question.**
${decodeURIComponent(body.results[0].question)}
${shuffled.map((answer, i) => `**${choices[i]}**. ${answer}`).join('\n')}
${shuffled.map((answer, i) => `**${choices[i]}.** ${answer}`).join('\n')}
`);
const filter = res => res.author.id === msg.author.id && choices.includes(res.content.toUpperCase());
const msgs = await msg.channel.awaitMessages(filter, {
+2 -2
View File
@@ -45,8 +45,8 @@ module.exports = class SortingHatQuizCommand extends Command {
}
const answers = shuffle(question.answers);
await msg.say(stripIndents`
**${turn}**. ${question.text}
${answers.map((answer, i) => `- **${choices[i]}**. ${answer.text}`).join('\n')}
**${turn}.** ${question.text}
${answers.map((answer, i) => `- **${choices[i]}.** ${answer.text}`).join('\n')}
`);
const filter = res =>
res.author.id === msg.author.id && choices.slice(0, answers.length).includes(res.content.toUpperCase());
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = class TypingTestCommand extends Command {
group: 'games',
memberName: 'typing-test',
description: 'See how fast you can type a sentence in a given time limit.',
details: `**Difficulties**: ${difficulties.join(', ')}`,
details: `**Difficulties:** ${difficulties.join(', ')}`,
args: [
{
key: 'difficulty',
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = class MinecraftSkinCommand extends Command {
group: 'image-edit',
memberName: 'minecraft-skin',
description: 'Sends the Minecraft skin for a user.',
details: `**Types**: ${types.join(', ')}`,
details: `**Types:** ${types.join(', ')}`,
clientPermissions: ['ATTACH_FILES'],
args: [
{
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class OsuSignatureCommand extends Command {
group: 'image-edit',
memberName: 'osu-signature',
description: 'Creates a card based on an osu! user\'s stats.',
details: `**Colors**: ${Object.keys(colors).join(', ')}`,
details: `**Colors:** ${Object.keys(colors).join(', ')}`,
clientPermissions: ['ATTACH_FILES'],
args: [
{
+1 -1
View File
@@ -9,7 +9,7 @@ module.exports = class GravityCommand extends Command {
group: 'number-edit',
memberName: 'gravity',
description: 'Determines weight on another planet.',
details: `**Planets**: ${Object.keys(planets).join(', ')}`,
details: `**Planets:** ${Object.keys(planets).join(', ')}`,
args: [
{
key: 'weight',
+1 -1
View File
@@ -14,6 +14,6 @@ module.exports = class DiscordEmailFunFactCommand extends Command {
run(msg) {
const factNumber = Math.floor(Math.random() * facts.length);
return msg.say(`**Fun Fact #${factNumber + 1}**: ${facts[factNumber]}`);
return msg.say(`**Fun Fact #${factNumber + 1}:** ${facts[factNumber]}`);
}
};
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class MemeCommand extends Command {
group: 'random',
memberName: 'meme',
description: 'Responds with a random meme.',
details: `**Subreddits**: ${subreddits.join(', ')}`,
details: `**Subreddits:** ${subreddits.join(', ')}`,
clientPermissions: ['ATTACH_FILES'],
args: [
{
+1 -1
View File
@@ -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',
+3 -3
View File
@@ -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);
+1 -1
View File
@@ -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: [
{
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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]}`);
}
};
+1 -1
View File
@@ -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: [
{
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = class Base64Command extends Command {
group: 'text-edit',
memberName: 'base64',
description: 'Converts text to/from Base64.',
details: `**Modes**: ${modes.join(', ')}`,
details: `**Modes:** ${modes.join(', ')}`,
args: [
{
key: 'mode',
+1 -1
View File
@@ -9,7 +9,7 @@ module.exports = class BinaryCommand extends Command {
group: 'text-edit',
memberName: 'binary',
description: 'Converts text to/from binary.',
details: `**Modes**: ${modes.join(', ')}`,
details: `**Modes:** ${modes.join(', ')}`,
args: [
{
key: 'mode',
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class CowSayCommand extends Command {
group: 'text-edit',
memberName: 'cow-say',
description: 'Makes a cow say your text.',
details: `**Types**: ${cows.join(', ')}`,
details: `**Types:** ${cows.join(', ')}`,
args: [
{
key: 'text',
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = class CowThinkCommand extends Command {
group: 'text-edit',
memberName: 'cow-think',
description: 'Makes a cow think your text.',
details: `**Types**: ${cows.join(', ')}`,
details: `**Types:** ${cows.join(', ')}`,
args: [
{
key: 'text',
+1 -1
View File
@@ -28,7 +28,7 @@ module.exports = class PortalSendCommand extends Command {
if (!channels.size) return msg.reply('No channels have an open portal...');
const channel = channels.random();
try {
await channel.send(`**${msg.author.tag} (${msg.channel.type === 'text' ? msg.guild.name : 'DM'})**: ${message}`);
await channel.send(`**${msg.author.tag} (${msg.channel.type === 'text' ? msg.guild.name : 'DM'}):** ${message}`);
return msg.say(`Message sent to **${channel.name}** in **${channel.guild.name}**!`);
} catch (err) {
return msg.reply('Failed to send the message. Try again later!');
+1 -1
View File
@@ -13,7 +13,7 @@ module.exports = class TranslateCommand extends Command {
group: 'text-edit',
memberName: 'translate',
description: 'Translates text to a specific language.',
details: `**Codes**: ${Object.keys(codes).join(', ')}`,
details: `**Codes:** ${Object.keys(codes).join(', ')}`,
clientPermissions: ['EMBED_LINKS'],
args: [
{
+4 -4
View File
@@ -45,11 +45,11 @@ module.exports = class HelpCommand extends Command {
}
return msg.say(stripIndents`
__Command **${command.name}**__${command.guildOnly ? ' (Usable only in servers)' : ''}
${command.description}${command.details ? `\n_${command.details}_` : ''}
${command.description}${command.details ? `\n${command.details}` : ''}
**Format**: ${msg.anyUsage(`${command.name} ${command.format || ''}`)}
**Aliases**: ${command.aliases.join(', ') || 'None'}
**Group**: ${command.group.name} (\`${command.groupID}:${command.memberName}\`)
**Format:** ${msg.anyUsage(`${command.name} ${command.format || ''}`)}
**Aliases:** ${command.aliases.join(', ') || 'None'}
**Group:** ${command.group.name} (\`${command.groupID}:${command.memberName}\`)
`);
}
};
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class SoundboardCommand extends Command {
group: 'voice',
memberName: 'soundboard',
description: 'Plays a sound in your voice channel.',
details: `**Sounds**: ${Object.keys(sounds).join(', ')}`,
details: `**Sounds:** ${Object.keys(sounds).join(', ')}`,
guildOnly: true,
throttling: {
usages: 1,