summaryrefslogtreecommitdiff
path: root/tgbot.py
blob: 3cd6dc01a93133d610250dfb77cd4e56acc21ae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python3
import telebot
from pythonFortniteStatus.fortnite-status import *

bot = telebot.TeleBot('6860285100:AAFkBS_ncl38XN4_Em_nzSt93Jlwc5BJ9mU')

@bot.message_handler(commands = ['start'])
def url(message):
    bot.reply_to(message, "This bot is doing nothing so far..")

@bot.message_handler(func=lambda message: True)
def echo_message(message):
    bot.reply_to(message, message.text)

bot.polling(none_stop=True, interval=0)