-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmain.py
More file actions
47 lines (29 loc) · 1.19 KB
/
main.py
File metadata and controls
47 lines (29 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- coding: UTF-8 -*-
from telegram.ext import Updater, CommandHandler
def start(update):
update.message.reply_text('Força Python!')
def evento(update):
update.message.reply_text('Força Python!')
def regras(update):
update.message.reply_text('Força Python!')
def help(update):
update.message.reply_text('Força Python!')
def link(update):
update.message.reply_text('Força Python!')
def grupy(update):
update.message.reply_text('Força Python!')
def niteroi(update):
update.message.reply_text('Força Python!')
def pyladies(update):
update.message.reply_text('Força Python!')
updater = Updater('YOUR TOKEN HERE')
updater.dispatcher.add_handler(CommandHandler('start', start))
updater.dispatcher.add_handler(CommandHandler('evento', evento))
updater.dispatcher.add_handler(CommandHandler('regras', regras))
updater.dispatcher.add_handler(CommandHandler('help', help))
updater.dispatcher.add_handler(CommandHandler('link', link))
updater.dispatcher.add_handler(CommandHandler('grupy', grupy))
updater.dispatcher.add_handler(CommandHandler('niteroi', niteroi))
updater.dispatcher.add_handler(CommandHandler('pyladies', pyladies))
updater.start_polling()
updater.idle()