mirror of https://codeberg.org/soteria/sox.git
style: format main
This commit is contained in:
parent
2b924b5d25
commit
594654e7bf
|
|
@ -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
|
||||
|
|
@ -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())
|
||||
Loading…
Reference in New Issue