Skip to content

Commit

Permalink
Merge pull request #29 from Zwater/bidoof-fix
Browse files Browse the repository at this point in the history
Fixed error in regex that allowed 'bidof' to match
  • Loading branch information
JulianWebb authored Jul 6, 2018
2 parents ff27c75 + cb53d9c commit 9a6b4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module.exports = async (config, client, influx, message) => {
}

// If message is only some for of "bidoof" then send the bidoof file
if (/^(bido+f)$/ig.test(message.cleanContent)) {
if (/^(bido+of)$/ig.test(message.cleanContent)) {
message.channel.send({
files: ['https://cdn.discordapp.com/attachments/460892286423793696/464497037283688469/bidoof.png']
})
Expand Down

0 comments on commit 9a6b4ec

Please sign in to comment.