mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Make spacing better
This commit is contained in:
@@ -79,7 +79,7 @@ module.exports = class QuizDuelCommand extends Command {
|
|||||||
if (userPoints >= maxPts) winner = msg.author;
|
if (userPoints >= maxPts) winner = msg.author;
|
||||||
else if (oppoPoints >= maxPts) winner = opponent;
|
else if (oppoPoints >= maxPts) winner = opponent;
|
||||||
const score = oneLine`
|
const score = oneLine`
|
||||||
${userWin ? '**' : ''}${userPoints}${userWin ? '**' : ''}-
|
${userWin ? '**' : ''}${userPoints}${userWin ? '**' : ''} -
|
||||||
${userWin ? '' : '**'}${oppoPoints}${userWin ? '' : '**'}
|
${userWin ? '' : '**'}${oppoPoints}${userWin ? '' : '**'}
|
||||||
`;
|
`;
|
||||||
await msg.say(`Nice one, ${result.author}! The score is now ${score}!`);
|
await msg.say(`Nice one, ${result.author}! The score is now ${score}!`);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "88.0.0",
|
"version": "88.0.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user