Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Bottery
Search
Marco Rougeth
September 15, 2017
Programming
56
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Bottery
Marco Rougeth
September 15, 2017
More Decks by Marco Rougeth
See All by Marco Rougeth
Async se faz - asyncio na prática
rougeth
0
240
Um Raio-X do Django
rougeth
1
190
Do Zero a Contribuição Científica com Python
rougeth
0
37
Other Decks in Programming
See All in Programming
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
ChromeでローカルLLM
ryu1013
0
140
Railsバージョンを4倍にした話
optim
0
350
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
290
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
A designer walks into a library…
pauljervisheath
211
25k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Transcript
Você já fez um bot?
@GabrielRF
╗ ╗ ╗ ╗ ╗ ╗ ╗ ╗ ╔══ ╗
╔═══ ╗╚══ ╔══╝╚══ ╔══╝ ╔════╝ ╔══ ╗╚ ╗ ╔╝ ╔╝ ║ ║ ║ ║ ╗ ╔╝ ╚ ╔╝ ╔══ ╗ ║ ║ ║ ║ ╔══╝ ╔══ ╗ ╚ ╔╝ ╔╝╚ ╔╝ ║ ║ ╗ ║ ║ ║ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ██████ ██████ ████████ ████████ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ██ ██ █████ ██████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ███████ ██ ██ ██
Messenger, Telegram, Slack, etc Multiplataforma
api.ai, luis.ai, wit.ai, etc Processamento de Linguagem Natural
Take over interface Dev auto-reload Templates Session I18N ...
Como instalar? $ pip install bottery
$ bottery startproject mybot Como usar? ~/mybot › tree .
!"" __init__.py !"" patterns.py #"" settings.py
patterns.py from bottery.conf.patterns import Pattern from bottery.views import ping patterns
= [ Pattern('ping', ping) ]
settings.py HOSTNAME = 'mybot.example.com' PLATAFORMS = { 'telegram': { 'ENGINE':
'bottery.plataform.telegram', 'OPTIONS': { 'token': 'telegram-bot-auth-token', } }, }
$ bottery run
╗ ╗ ╗ ╗ ╗ ╗ ╗ ╗ ╔══ ╗
╔═══ ╗╚══ ╔══╝╚══ ╔══╝ ╔════╝ ╔══ ╗╚ ╗ ╔╝ ╔╝ ║ ║ ║ ║ ╗ ╔╝ ╚ ╔╝ ╔══ ╗ ║ ║ ║ ║ ╔══╝ ╔══ ╗ ╚ ╔╝ ╔╝╚ ╔╝ ║ ║ ╗ ║ ║ ║ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ██████ ██████ ████████ ████████ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ██ ██ █████ ██████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ███████ ██ ██ ██ github.com/rougeth/bottery telegram:@rougeth rgth.co