Spaces:
Runtime error
Runtime error
File size: 761 Bytes
78b07ad |
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 |
from pyrogram import idle
from Hellbot import __version__
from Hellbot.core import (
Config,
ForcesubSetup,
GachaBotsSetup,
TemplateSetup,
UserSetup,
db,
hellbot,
)
from Hellbot.functions.tools import initialize_git
from Hellbot.functions.utility import BList, Flood, TGraph
async def main():
await hellbot.startup()
await db.connect()
await UserSetup()
await ForcesubSetup()
await GachaBotsSetup()
await TemplateSetup()
await Flood.updateFromDB()
await BList.updateBlacklists()
await TGraph.setup()
await initialize_git(Config.PLUGINS_REPO)
await hellbot.start_message(__version__)
await idle()
if __name__ == "__main__":
hellbot.run(main())
|