Nestor

Mon petit bot Discord
Log | Files | Refs

commit 6f62399f1c44e484700e2b8ceb451daa6b8fb7e9
parent e1df8f102256142b47bb0c4bdf0704536979bd30
Author: Doshirae <romainchaix@protonmail.com>
Date:   Thu, 15 Jun 2017 23:50:04 +0200

Merge branch 'master' of https://github.com/Doshirae/Nestor

Ok

Diffstat:
nestor.rb | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nestor.rb b/nestor.rb @@ -174,8 +174,8 @@ bot.message(content: /rt/i) do |event| event.respond "#{event.content}" end -bot.message(containing: [/tg/i, /ta gueule/i]) do |event| - event.respond "Oui monsieur, bien monsieur, je pars me flageller monsieur" +bot.message(containing: [/tg /i, /ta gueule/i]) do |event| + event.send_temp "Oui monsieur, bien monsieur, je pars me flageller monsieur" end # <==