diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6cae1c7 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/src/__main__.py b/src/__main__.py index d3c730b..282ebc5 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -3,9 +3,11 @@ from src.classes.bot import MyBot import os import asyncio + async def main(): bot = MyBot() bot.load_extensions("src/plugins") await bot.start(os.environ["TOKEN"]) -asyncio.run(main()) \ No newline at end of file + +asyncio.run(main())