Skip to content

Commit 0d1629f

Browse files
authored
Update PythonRio-bot-all.rb
1 parent 145da37 commit 0d1629f

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

PythonRio-bot-all.rb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,37 @@
88
Telegram::Bot::Client.run(token) do |bot|
99
bot.listen do |message|
1010
case message.text
11-
when '/start'
12-
bot.api.send_message(chat_id: message.chat.id, text: "Força Python!")
13-
when '/start@PythonRio_Bot'
14-
bot.api.send_message(chat_id: message.chat.id, text: "Força Python!")
15-
when '/evento'
16-
bot.api.send_message(chat_id: message.chat.id, text: "Prezados,
11+
when '/start'
12+
bot.api.send_message(chat_id: message.chat.id, text: "Força Python!")
13+
when '/start@PythonRio_Bot'
14+
bot.api.send_message(chat_id: message.chat.id, text: "Força Python!")
15+
when '/evento'
16+
bot.api.send_message(chat_id: message.chat.id, text: "Prezados,
1717
Dia 27 de Agosto de 2016 vai rolar XII Encontro da @pythonrio. Submeta sua proposta de palestra até dia 20/08/2016 pelo speakerfight http://speakerfight.com/events/xii-encontro-python-rio/
1818
Ainda estamos definindo o local e, assim que soubermos, liberamos em nossa Fan Page os links para a inscrição.
1919
2020
Grande abraço!
2121
#forcapython")
2222

23-
when '/evento@PythonRio_Bot'
24-
bot.api.send_message(chat_id: message.chat.id, text: "Prezados,
23+
when '/evento@PythonRio_Bot'
24+
bot.api.send_message(chat_id: message.chat.id, text: "Prezados,
2525
Dia 27 de Agosto de 2016 vai rolar XII Encontro da @pythonrio. Submeta sua proposta de palestra até dia 20/08/2016 pelo speakerfight http://speakerfight.com/events/xii-encontro-python-rio/
2626
Ainda estamos definindo o local e, assim que soubermos, liberamos em nossa Fan Page os links para a inscrição.
2727
2828
Grande abraço!
2929
#forcapython")
3030

3131

32-
when '/regras'
33-
bot.api.send_message(chat_id: message.chat.id, text: "Não farás Pyratarias. Temos um clube do livro, confira em link.
32+
when '/regras'
33+
bot.api.send_message(chat_id: message.chat.id, text: "Não farás Pyratarias. Temos um clube do livro, confira em link.
3434
Não ofenderás o Coleguinha, Não aceitamos discriminação de qualquer tipo.
3535
Não mandarás nudes, Somos pythonistas só nos excitamos com código.
3636
Nao mandarás porno, mesmo que the internet is for porn
3737
Não me invocarás de 1 em 1 minuto.
3838
Falarás do PythonRio para os coleguinhas.")
3939

40-
when '/regras@PythonRio_Bot'
41-
bot.api.send_message(chat_id: message.chat.id, text: "Não farás Pyratarias. Temos um clube do livro, confira em link.
40+
when '/regras@PythonRio_Bot'
41+
bot.api.send_message(chat_id: message.chat.id, text: "Não farás Pyratarias. Temos um clube do livro, confira em link.
4242
Não ofenderás o Coleguinha, Não aceitamos discriminação de qualquer tipo.
4343
Não mandarás nudes, Somos pythonistas só nos excitamos com código.
4444
Nao mandarás porno, mesmo que the internet is for porn.
@@ -62,7 +62,7 @@
6262
YouTube = https://www.youtube.com/channel/UCGl4xDZYUYGg4_aMah32yjQ
6363
6464
Clube do Livro = https://trello.com/invite/b/k75OyRBC/1e822b1c6b177f4cc501c39aa9a64e44/clube-do-livro-pythonrio")
65-
when '/help@PythonRio_Bot'
65+
when '/help@PythonRio_Bot'
6666
bot.api.send_message(chat_id: message.chat.id, text: "Olá! A forma mais correta de me usar a / sem o @PythonRio_Bot:
6767
/start - Digo Força Python!
6868
/evento - Situação Atual do evento.
@@ -80,6 +80,6 @@
8080
YouTube = https://www.youtube.com/channel/UCGl4xDZYUYGg4_aMah32yjQ
8181
8282
Clube do Livro = https://trello.com/invite/b/k75OyRBC/1e822b1c6b177f4cc501c39aa9a64e44/clube-do-livro-pythonrio")
83-
end
84-
end
8583
end
84+
end
85+
end

0 commit comments

Comments
 (0)