Reformat code

This commit is contained in:
2022-09-04 21:40:04 +01:00
parent 0f717b987d
commit 6e00f70184
7 changed files with 50 additions and 130 deletions

View File

@@ -8,6 +8,7 @@ from sources.dis import DiscordClient
# For development
if not getenv("DISCORD_TOKEN", None):
from dotenv import load_dotenv
load_dotenv()
log = util.get_logger("monolith")
@@ -23,7 +24,7 @@ async def main(loop):
log.info("Starting Discord handler.")
client = DiscordClient()
loop.create_task(client.start(token))
#client.run(token)
# client.run(token)
log.info("Starting 4chan handler.")
chan = Chan4()
@@ -32,7 +33,7 @@ async def main(loop):
loop = asyncio.get_event_loop()
loop.create_task(main(loop))
#reactor.run()
# reactor.run()
try:
loop.run_forever()
except KeyboardInterrupt: