fix token variable
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import asyncio
|
||||
|
||||
from .bot import bot, dp
|
||||
from .bot import bot, dp, logger
|
||||
|
||||
|
||||
async def main():
|
||||
logger.info("Bot started")
|
||||
await dp.start_polling(bot)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(main())
|
||||
asyncio.run(main())
|
||||
|
||||
Reference in New Issue
Block a user