mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Fix
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = class ShutdownCommand extends Command {
|
|||||||
if (calls > 0) {
|
if (calls > 0) {
|
||||||
currentString += `${calls} phone call${calls > 1 ? 's' : ''}`;
|
currentString += `${calls} phone call${calls > 1 ? 's' : ''}`;
|
||||||
if (games < 1 && timers > 0) currentString += ' and ';
|
if (games < 1 && timers > 0) currentString += ' and ';
|
||||||
if (timers > 0) currentString += ', and';
|
if (timers > 0) currentString += ', and ';
|
||||||
if (calls === 1 && (games > 0 ? games === 1 : true)) areIs = 'is';
|
if (calls === 1 && (games > 0 ? games === 1 : true)) areIs = 'is';
|
||||||
}
|
}
|
||||||
if (timers > 0) {
|
if (timers > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user