Skip to content

Instantly share code, notes, and snippets.

@horie1024
Created June 14, 2017 06:01
Show Gist options
  • Save horie1024/8e69435bd16056b722070437280d0671 to your computer and use it in GitHub Desktop.
Save horie1024/8e69435bd16056b722070437280d0671 to your computer and use it in GitHub Desktop.
module.exports = (robot) => {
const kekka = [
'大吉',
'中吉',
'凶'
];
robot.hear(/^デプロイ占い$/, (msg) => {
msg.send(msg.random(kekka));
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment