mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Node 15
This commit is contained in:
@@ -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())
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user