This commit is contained in:
Dragon Fire
2020-10-24 14:25:32 -04:00
parent 40080cadef
commit ebd26a7b0e
25 changed files with 42 additions and 44 deletions
+2 -2
View File
@@ -20,14 +20,14 @@ module.exports = class LatlmesCommand extends Command {
prompt: 'What section of the news should the link display?',
type: 'string',
max: 100,
parse: query => encodeURIComponent(query.replace(/ /g, '-').toLowerCase())
parse: query => encodeURIComponent(query.replaceAll(' ', '-').toLowerCase())
},
{
key: 'query',
prompt: 'What would you like the link to display as?',
type: 'string',
max: 500,
parse: query => encodeURIComponent(query.replace(/ /g, '-').toLowerCase())
parse: query => encodeURIComponent(query.replaceAll(' ', '-').toLowerCase())
}
]
});