by Anonymous » 04 Mar 2025, 10:01
pyharm gibt diesen Fehler an. Dies muss ein Telegramm -Bot sein
**
Code: Select all
import asyncio
from aiogram import Bot, Dispatcher
async def main():
bot = Bot(token='')
dp = Dispatcher
await dp.start_polling(bot)
if __name__ == "__main__":
asyncio.run(main())
**
[b] pyharm gibt diesen Fehler an. Dies muss ein Telegramm -Bot sein [/b]
**
[code]import asyncio
from aiogram import Bot, Dispatcher
async def main():
bot = Bot(token='')
dp = Dispatcher
await dp.start_polling(bot)
if __name__ == "__main__":
asyncio.run(main())
[/code]
**