Fixed style bypass.
This commit is contained in:
@@ -221,7 +221,7 @@ function onMessage(message, context) {
|
||||
|
||||
module.exports = {
|
||||
name: 'Mash',
|
||||
commands: ['mash', ...defineCommands, ...resolveCommands],
|
||||
commands: ['mash', 'wordmash', ...defineCommands, ...resolveCommands],
|
||||
onCommand,
|
||||
onMessage,
|
||||
help: `Resolve the anagram. Get a new mash with ${config.prefix}mash [length], look up definitions with ${config.prefix}define [word], resolve an anagram (that's not currently in play) with ${config.prefix}solve [anagram].`,
|
||||
|
||||
@@ -49,7 +49,7 @@ async function playRound(context, round = 0) {
|
||||
|
||||
const question = game.questions[round];
|
||||
|
||||
context.sendMessage(`${style.bold(style.pink(`Question ${round + 1}/${game.questions.length}`))} ${style.silver(`(${question.category})`)}: ${question.question}`, context.room.id);
|
||||
context.sendMessage(`${style.bold(style.pink(`Question ${round + 1}/${game.questions.length}`))} ${style.grey(`(${question.category})`)}: ${question.question}`, context.room.id);
|
||||
context.logger.info(`Trivia asked "${question.question}" with answer: ${question.answer}`);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user