mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 14:21:41 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -10,7 +10,6 @@ module.exports = class AgeCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'year',
|
||||
prompt: 'What year would you like to get the age for?',
|
||||
type: 'integer',
|
||||
min: 1
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ module.exports = class AspectRatioCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to get the aspect ratio of?',
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -13,7 +13,6 @@ module.exports = class BirthstoneCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'month',
|
||||
prompt: 'What month would you like to get the birthstone for?',
|
||||
type: 'month'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -13,7 +13,6 @@ module.exports = class CharacterCountCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'text',
|
||||
prompt: 'What text would you like to get the character count of?',
|
||||
type: 'message|string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -12,7 +12,6 @@ module.exports = class ChineseZodiacCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'year',
|
||||
prompt: 'What year would you like to get the Chinese Zodiac Sign for?',
|
||||
type: 'integer',
|
||||
min: 1
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class DominantColorCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to test?',
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -17,7 +17,6 @@ module.exports = class FacesCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What face would you like to scan?',
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class GenderCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'name',
|
||||
prompt: 'What name do you want to determine the gender of?',
|
||||
type: 'string',
|
||||
max: 20
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ module.exports = class GenerationCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'year',
|
||||
prompt: 'What year would you like to get the Generation for?',
|
||||
type: 'integer',
|
||||
min: 1,
|
||||
max: new Date().getFullYear()
|
||||
|
||||
@@ -17,7 +17,6 @@ module.exports = class ImageSizeCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to get the size of?',
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class IsItDownCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'url',
|
||||
prompt: 'What URL do you want to test?',
|
||||
type: 'url'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -12,12 +12,10 @@ module.exports = class LevenshteinCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'text1',
|
||||
prompt: 'What is the first text you would like to compare?',
|
||||
type: 'string'
|
||||
},
|
||||
{
|
||||
key: 'text2',
|
||||
prompt: 'What is the second text you would like to compare?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -25,7 +25,6 @@ module.exports = class NsfwImageCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to test?',
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -12,7 +12,6 @@ module.exports = class NsfwUrlCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'url',
|
||||
prompt: 'What URL would you like to test?',
|
||||
type: 'url'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -13,7 +13,6 @@ module.exports = class ParseTimeCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'time',
|
||||
prompt: 'What do you want me to analyze?',
|
||||
type: 'sherlock'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -21,7 +21,6 @@ module.exports = class ReadQRCodeCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What QR Code would you like to read?',
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -21,7 +21,6 @@ module.exports = class ScrabbleScoreCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'word',
|
||||
prompt: 'What word would you like to get the scrabble score of?',
|
||||
type: 'string',
|
||||
parse: word => word.toLowerCase()
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ module.exports = class ScreenshotCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'url',
|
||||
prompt: 'What webpage do you want to take a screenshot of?',
|
||||
type: 'url'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -13,12 +13,10 @@ module.exports = class TextDiffCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'text1',
|
||||
prompt: 'What is the first text you would like to compare?',
|
||||
type: 'string'
|
||||
},
|
||||
{
|
||||
key: 'text2',
|
||||
prompt: 'What is the second text you would like to compare?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -12,7 +12,6 @@ module.exports = class ValidUrlCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'url',
|
||||
prompt: 'What URL would you like to test?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -13,12 +13,10 @@ module.exports = class ZodiacSignCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'month',
|
||||
prompt: 'What month would you like to get the Zodiac Sign for?',
|
||||
type: 'month'
|
||||
},
|
||||
{
|
||||
key: 'day',
|
||||
prompt: 'What day would you like to get the Zodiac Sign for?',
|
||||
type: 'integer',
|
||||
min: 1,
|
||||
max: 31
|
||||
|
||||
Reference in New Issue
Block a user