Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const { Keyboard } = require('vk-io');
const { StepScene } = require('../middlewares/wizard');
const cancelButton = Keyboard.textButton({
label: 'Cancel',
color: Keyboard.NEGATIVE_COLOR,
payload: {
command: 'cancel'
}
});
const helpButton = Keyboard.textButton({
label: 'Help',
payload: {
command: 'help'
}
});
const allowGenders = ['male', 'female'];
module.exports = new StepScene('signup', {
steps: [