Merge branch 'main' of https://github.com/levina-lab/video-stream into main
This commit is contained in:
commit
76fbd8721e
@ -43,23 +43,23 @@ def load_plugins(plugin_name):
|
||||
|
||||
async def start():
|
||||
print('\n')
|
||||
print('------------------- Initalizing VEEZ ---------------------')
|
||||
print('------------------ Initalizing VEEZ --------------------')
|
||||
if bot:
|
||||
await bot.start()
|
||||
await app.start()
|
||||
await call_py.start()
|
||||
print('----------------------- DONE ------------------------')
|
||||
print('--------------------- Importing ---------------------')
|
||||
print('------------------------ DONE --------------------------')
|
||||
print('------------------ Importing Modules -------------------')
|
||||
for name in files:
|
||||
with open(name) as a:
|
||||
path_ = Path(a.name)
|
||||
plugin_name = path_.stem
|
||||
load_plugins(plugin_name.replace(".py", ""))
|
||||
print('----------------------- INITIATED VEEZ ------------------------')
|
||||
print('------------------- INITIATED VEEZ ---------------------')
|
||||
print(' Logged in as User =>> {}'.format((await app.get_me()).first_name))
|
||||
if bot:
|
||||
print(' and Bot =>> {}'.format((await bot.get_me()).first_name))
|
||||
print('-----------------------------------------------------')
|
||||
print(' Logged in to Bots =>> {}'.format((await bot.get_me()).first_name))
|
||||
print('--------------------------------------------------------')
|
||||
await idle()
|
||||
if __name__ == '__main__':
|
||||
is_bot = bool(Veez.BOT_TOKEN)
|
||||
|
Loading…
Reference in New Issue
Block a user