mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -32,7 +32,6 @@ module.exports = class AnilistCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What user would you like to get the information of?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -64,7 +64,6 @@ module.exports = class AnimeCharacterCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What character would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -84,7 +84,6 @@ module.exports = class AnimeStaffCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What staff member would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -101,7 +101,6 @@ module.exports = class AnimeCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What anime would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -22,7 +22,6 @@ module.exports = class DefineCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'word',
|
||||
prompt: 'What word would you like to look up?',
|
||||
type: 'string',
|
||||
parse: word => encodeURIComponent(word)
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ module.exports = class FrinkiacCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What line would you like to look up?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class GoogleAutofillCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -21,7 +21,6 @@ module.exports = class GravatarCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'email',
|
||||
prompt: 'What email do you want to get the Gravatar for?',
|
||||
type: 'string',
|
||||
parse: email => email.toLowerCase()
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class HttpCatCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'code',
|
||||
prompt: 'What code do you want to get the cat of?',
|
||||
type: 'integer'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -23,7 +23,6 @@ module.exports = class KnowYourMemeCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What meme would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -94,7 +94,6 @@ module.exports = class MangaCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What manga would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -22,7 +22,6 @@ module.exports = class NASACommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What image would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -26,12 +26,10 @@ module.exports = class NeopetCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'pet',
|
||||
prompt: 'What pet would you like to get an image of?',
|
||||
type: 'string'
|
||||
},
|
||||
{
|
||||
key: 'mood',
|
||||
prompt: `What mood should the pet be in? Either ${list(Object.keys(moods), 'or')}.`,
|
||||
type: 'string',
|
||||
default: 1,
|
||||
validate: mood => {
|
||||
|
||||
@@ -27,7 +27,6 @@ module.exports = class NeopetsItemCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'item',
|
||||
prompt: 'What item would you like to get information on?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -33,7 +33,6 @@ module.exports = class PeriodicTableCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'element',
|
||||
prompt: 'What element do you want to find? You can enter the name, symbol, or atomic number.',
|
||||
type: 'string',
|
||||
validate: element => {
|
||||
const num = Number.parseInt(element, 10);
|
||||
|
||||
@@ -12,7 +12,6 @@ module.exports = class RuleCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'rule',
|
||||
prompt: 'Which rule would you like to view?',
|
||||
type: 'integer',
|
||||
min: 1,
|
||||
max: rules.length
|
||||
|
||||
@@ -23,7 +23,6 @@ module.exports = class UrbanCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'word',
|
||||
prompt: 'What word would you like to look up?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -22,7 +22,6 @@ module.exports = class WikipediaCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'What article would you like to search for?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -23,7 +23,6 @@ module.exports = class XKCDCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'query',
|
||||
prompt: 'Please enter either a specific comic number, today, or random.',
|
||||
type: 'string',
|
||||
default: 'today',
|
||||
validate: query => {
|
||||
|
||||
@@ -29,7 +29,6 @@ module.exports = class YuGiOhCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'card',
|
||||
prompt: 'What card would you like to get information on?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user