<reponame>fortrax-br/rss-services-bot<gh_stars>1-10
from os import environ
from pyrogram import Client
from .database import crub


App = Client(
    "RSS",
    api_id=int(environ.get("TELEGRAM_API_ID")),
    api_hash=environ.get("TELEGRAM_API_HASH"),
    bot_token=environ.get("BOT_TOKEN")
)
App.database = crub(
    url=environ.get(
        "DATABASE_URL",
        "sqlite:///rssBot.db"
    )
)

from os import environ
from pyrogram import Client
from .database import crub


App = Client(
    "RSS",
    api_id=int(environ.get("TELEGRAM_API_ID")),
    api_hash=environ.get("TELEGRAM_API_HASH"),
    bot_token=environ.get("BOT_TOKEN")
)
App.database = crub(
    url=environ.get(
        "DATABASE_URL",
        "sqlite:///rssBot.db"
    )
)