move modules to mods/

This commit is contained in:
randomuser 2021-08-02 21:36:04 -05:00
parent 35eeaa1154
commit 621aeee7a0
3 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,8 @@
import asyncio import asyncio
from importlib import import_module as mod_include from importlib import import_module as mod_include
import os
import sys
from irctokens import build, Line from irctokens import build, Line
from ircrobots import Bot as BaseBot from ircrobots import Bot as BaseBot
@ -92,4 +94,6 @@ async def main():
await bot.run() await bot.run()
if __name__ == "__main__": if __name__ == "__main__":
os.chdir("mods")
sys.path.append(os.getcwd())
asyncio.run(main()) asyncio.run(main())