Skip to content

Commit

Permalink
Edit regex for AH
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucie-Dispot committed Nov 20, 2017
1 parent d5b5932 commit 9fa937e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DashBot/plugins/basic_commands.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ module DashBot::Plugins::BasicCommands
bot.reply msg, "I'm calling #{match[1]} right now"
end.on("PRIVMSG", message: /(^| )what($| )/i) do |msg, match|
bot.reply msg, WHAT.shuffle.join(" ")
end.on("PRIVMSG", message: /^ah$/i) do |msg, match|
end.on("PRIVMSG", message: /[^\W]*AH[\W]/) do |msg, match|
bot.reply msg, "AH"
end.on("PRIVMSG", message: /^oulah/i) do |msg, match|
end.on("PRIVMSG", message: /^oulah?$/i) do |msg, match|
bot.reply msg, "Vous êtes con"
end
end
Expand Down

0 comments on commit 9fa937e

Please sign in to comment.