mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Celestial object, list of unit types in help
This commit is contained in:
@@ -26,7 +26,8 @@ module.exports = class GravityCommand extends Command {
|
||||
},
|
||||
{
|
||||
key: 'planet',
|
||||
prompt: `What planet do you want to use as the base? Either ${list(Object.keys(planets), 'or')}.`,
|
||||
label: 'celestial object',
|
||||
prompt: `What celestial object do you want to use? Either ${list(Object.keys(planets), 'or')}.`,
|
||||
type: 'string',
|
||||
oneOf: Object.keys(planets),
|
||||
parse: planet => planet.toLowerCase()
|
||||
|
||||
Reference in New Issue
Block a user