init
This commit is contained in:
10
my-project-name
Executable file
10
my-project-name
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
import asyncio
|
||||
|
||||
try:
|
||||
from my_project_name import main
|
||||
|
||||
# Run the main function of the bot
|
||||
asyncio.get_event_loop().run_until_complete(main.main())
|
||||
except ImportError as e:
|
||||
print("Unable to import my_project_name.main:", e)
|
||||
Reference in New Issue
Block a user