mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 05:49:49 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
const Command = require('../../framework/Command');
|
||||
const path = require('path');
|
||||
const { list } = require('../../util/Util');
|
||||
const types = ['default', 'blastyoff', 'disyoffjs', 'yoffcirius', 'yoffice', 'yofficer', 'gameyoff'];
|
||||
|
||||
module.exports = class YoffCommand extends Command {
|
||||
@@ -21,7 +20,6 @@ module.exports = class YoffCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'type',
|
||||
prompt: `What type of yoff do you want to see? Either ${list(types, 'or')}.`,
|
||||
type: 'string',
|
||||
default: 'default',
|
||||
oneOf: types,
|
||||
|
||||
Reference in New Issue
Block a user