test02
This commit is contained in:
6
main.py
6
main.py
@@ -1,10 +1,10 @@
|
|||||||
import os
|
import os
|
||||||
import telebot
|
import telebot
|
||||||
|
|
||||||
API_KEY = os.getenv('API_KEY')
|
API_KEY = "8438017196:AAFNokgHwhn4G-0HuCxc7ZVwf7SJP1ETXpc"
|
||||||
bot = telebot.Telebot(API_KEY)
|
bot = telebot.TeleBot(API_KEY)
|
||||||
|
|
||||||
@bot.message_handler(command=['heckingemmy'])
|
@bot.message_handler(commands=['heckingemmy'])
|
||||||
def greet(message):
|
def greet(message):
|
||||||
bot.reply_to(message, "Heckingemmy taky pojde, ten hajzl ten zmrd")
|
bot.reply_to(message, "Heckingemmy taky pojde, ten hajzl ten zmrd")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user