style: format main

This commit is contained in:
spifory 2026-02-12 19:08:39 +02:00
parent 2b924b5d25
commit 594654e7bf
No known key found for this signature in database
GPG Key ID: A09D250DB53F8BD7
2 changed files with 17 additions and 1 deletions

14
.editorconfig Normal file
View File

@ -0,0 +1,14 @@
root = true
[*]
end_of_line = lf
trim_trailing_whitespace = true
indent_style = space
insert_final_newline = true
charset = utf-8
[*.py]
indent_size = 4
[*.{yml,yaml}]
indent_size = 2

View File

@ -3,9 +3,11 @@ from src.classes.bot import MyBot
import os import os
import asyncio import asyncio
async def main(): async def main():
bot = MyBot() bot = MyBot()
bot.load_extensions("src/plugins") bot.load_extensions("src/plugins")
await bot.start(os.environ["TOKEN"]) await bot.start(os.environ["TOKEN"])
asyncio.run(main())
asyncio.run(main())