Skip to content

Instantly share code, notes, and snippets.

import telebot
import logging
with open ("key.txt", "r") as key:
token = key.read().strip()
API_TOKEN = token
bot= telebot.TeleBot(API_TOKEN)