mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Fix
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = class ConnectFourCommand extends Command {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'color',
|
key: 'color',
|
||||||
prompt: `What color do you want to be? Either ${Object.keys(colors, 'or')}.`,
|
prompt: `What color do you want to be? Either ${list(Object.keys(colors), 'or')}.`,
|
||||||
type: 'string',
|
type: 'string',
|
||||||
oneOf: Object.keys(colors),
|
oneOf: Object.keys(colors),
|
||||||
parse: color => color.toLowerCase()
|
parse: color => color.toLowerCase()
|
||||||
|
|||||||
Reference in New Issue
Block a user