Nestor

Mon petit bot Discord
Log | Files | Refs

commit 31c86a302c2714ecfc1f3b91dc40941566706a97
parent 6c75410f583b82965c1ae475954fc3a7dfd27b2a
Author: Doshirae <romainchaix@protonmail.com>
Date:   Fri, 28 Apr 2017 23:09:01 +0200

Added SALOooOOoOOoooPE

Diffstat:
nestor.rb | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/nestor.rb b/nestor.rb @@ -135,7 +135,14 @@ bot.command(:insulte, description: "Renvoie une insulte générée") do |event, when "fort" event.respond(insulte.dire().upcase) when "kaaris" - event.respond("P#{"U"*rand(10..100)}TE#{"U"*rand(10..100)}H") + event.respond("P#{"U"*rand(10..100)}T#{"E"*rand(3..20)}#{"U"*rand(10..100)}H") + when "martine" + salope = "SALO" + rand(25..100).times do |jsp| + salope += (rand(0..1) %2 == 0) ? "o" : "O" + end + salope += "PE" + event.respond(salope) else event.respond(insulte.dire()) end