Redid Dolly's code

This commit is contained in:
Dan
2024-05-03 22:38:27 -04:00
parent 4ea2ffb162
commit e28176b558
4 changed files with 80 additions and 0 deletions

14
main.py Normal file
View File

@ -0,0 +1,14 @@
from dolly.dolly import Dolly
from dolly.database import setup_db
import asyncio
from dotenv import load_dotenv
load_dotenv()
TOKEN = os.getenv('DISCORD_BOT_TOKEN')
async def main():
await setup_db()
client = Dolly()
await client.start(TOKEN)
asyncio.run(main())