|
8 | 8 | Telegram::Bot::Client.run(token) do |bot| |
9 | 9 | bot.listen do |message| |
10 | 10 | 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, |
17 | 17 | 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/ |
18 | 18 | Ainda estamos definindo o local e, assim que soubermos, liberamos em nossa Fan Page os links para a inscrição. |
19 | 19 |
|
20 | 20 | Grande abraço! |
21 | 21 | #forcapython") |
22 | 22 |
|
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, |
25 | 25 | 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/ |
26 | 26 | Ainda estamos definindo o local e, assim que soubermos, liberamos em nossa Fan Page os links para a inscrição. |
27 | 27 |
|
28 | 28 | Grande abraço! |
29 | 29 | #forcapython") |
30 | 30 |
|
31 | 31 |
|
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. |
34 | 34 | Não ofenderás o Coleguinha, Não aceitamos discriminação de qualquer tipo. |
35 | 35 | Não mandarás nudes, Somos pythonistas só nos excitamos com código. |
36 | 36 | Nao mandarás porno, mesmo que the internet is for porn |
37 | 37 | Não me invocarás de 1 em 1 minuto. |
38 | 38 | Falarás do PythonRio para os coleguinhas.") |
39 | 39 |
|
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. |
42 | 42 | Não ofenderás o Coleguinha, Não aceitamos discriminação de qualquer tipo. |
43 | 43 | Não mandarás nudes, Somos pythonistas só nos excitamos com código. |
44 | 44 | Nao mandarás porno, mesmo que the internet is for porn. |
|
62 | 62 | YouTube = https://www.youtube.com/channel/UCGl4xDZYUYGg4_aMah32yjQ |
63 | 63 |
|
64 | 64 | Clube do Livro = https://trello.com/invite/b/k75OyRBC/1e822b1c6b177f4cc501c39aa9a64e44/clube-do-livro-pythonrio") |
65 | | -when '/help@PythonRio_Bot' |
| 65 | + when '/help@PythonRio_Bot' |
66 | 66 | bot.api.send_message(chat_id: message.chat.id, text: "Olá! A forma mais correta de me usar a / sem o @PythonRio_Bot: |
67 | 67 | /start - Digo Força Python! |
68 | 68 | /evento - Situação Atual do evento. |
|
80 | 80 | YouTube = https://www.youtube.com/channel/UCGl4xDZYUYGg4_aMah32yjQ |
81 | 81 |
|
82 | 82 | Clube do Livro = https://trello.com/invite/b/k75OyRBC/1e822b1c6b177f4cc501c39aa9a64e44/clube-do-livro-pythonrio") |
83 | | - end |
84 | | - end |
85 | 83 | end |
| 84 | + end |
| 85 | +end |
0 commit comments