mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -28,12 +28,10 @@ module.exports = class ConnectFourCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'opponent',
|
||||
prompt: 'What user would you like to challenge? To play against AI, choose me.',
|
||||
type: 'user'
|
||||
},
|
||||
{
|
||||
key: 'color',
|
||||
prompt: `What color do you want to be? Either an emoji or one of ${list(Object.keys(colors), 'or')}.`,
|
||||
type: 'custom-emoji|default-emoji|string',
|
||||
validate: (color, msg) => {
|
||||
const hasEmoji = new RegExp(`^(?:${emojiRegex().toString()})$`).test(color);
|
||||
|
||||
Reference in New Issue
Block a user