mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 08:08:34 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -18,12 +18,10 @@ module.exports = class AvatarFusionCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'overlay',
|
||||
prompt: 'Which user would you like to put over the base?',
|
||||
type: 'user'
|
||||
},
|
||||
{
|
||||
key: 'base',
|
||||
prompt: 'Which user would you like to be the base?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -42,13 +42,11 @@ module.exports = class EjectCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
},
|
||||
{
|
||||
key: 'imposter',
|
||||
prompt: 'Is the user an imposter?',
|
||||
type: 'boolean',
|
||||
default: ''
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ module.exports = class FireCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ const { createCanvas, loadImage } = require('canvas');
|
||||
const request = require('node-superfetch');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const { list } = require('../../util/Util');
|
||||
const hats = fs.readdirSync(path.join(__dirname, '..', '..', 'assets', 'images', 'hat'))
|
||||
.map(hat => hat.replace('.png', ''));
|
||||
|
||||
@@ -125,14 +124,12 @@ module.exports = class HatCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'type',
|
||||
prompt: `What type of hat would you like to use? Either ${list(hats, 'or')}.`,
|
||||
type: 'string',
|
||||
oneOf: hats,
|
||||
parse: type => type.toLowerCase()
|
||||
},
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ module.exports = class HeLivesInYouCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ module.exports = class HeartsCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -26,7 +26,6 @@ module.exports = class IHaveThePowerCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -34,14 +34,12 @@ module.exports = class RipCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
},
|
||||
{
|
||||
key: 'cause',
|
||||
label: 'cause of death',
|
||||
prompt: 'What was the cause of death?',
|
||||
type: 'string',
|
||||
default: ''
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ module.exports = class StatusButtonCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to get the status button of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -33,12 +33,10 @@ module.exports = class SteamNowPlayingCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'game',
|
||||
prompt: 'Which game would you like the user to be playing?',
|
||||
type: 'string'
|
||||
},
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to be playing the game?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -33,7 +33,6 @@ module.exports = class TriggeredCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user