Skip to content

Commit

Permalink
Fix not invoking method and added spaces to responses
Browse files Browse the repository at this point in the history
  • Loading branch information
fatton139 committed May 12, 2018
1 parent 161eb9e commit af74f81
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,16 @@ bot.on('message', (message) => {
getTargetString(targets) + " or anything >///<",
"Notices fortnite, Owo whats this? " + getTargetString(targets) +
" fortnite?",
"Brad said to play fortnite." + getTargetString(targets) + " fortnite?",
"Nick said to play fortnite." + getTargetString(targets) + " fortnite?",
"Patty said to play fortnite." + getTargetString(targets) +
"Brad said to play fortnite. " + getTargetString(targets) + " fortnite?",
"Nick said to play fortnite. " + getTargetString(targets) + " fortnite?",
"Patty said to play fortnite. " + getTargetString(targets) +
" fortnite?",
"Alex said to play fortnite." + getTargetString(targets) + " fortnite?",
"JZ said to play fortnite." + getTargetString(targets) + " fortnite?",
"Alex said to play fortnite. " + getTargetString(targets) + " fortnite?",
"JZ said to play fortnite. " + getTargetString(targets) + " fortnite?",
];

if (Math.random() < 0.025) {
if (Math.random < 0.5) {
if (Math.random() < 0.5) {
chatBot.create((err, session) => {
chatBot.ask(message.content, (err, res) => {
let response = res + " " + messageStyles[randInt(0,
Expand Down

0 comments on commit af74f81

Please sign in to comment.