Skip to content

Commit a8943e7

Browse files
committed
Add launcher
1 parent f5cb6f3 commit a8943e7

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

bot/utils/launcher.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515

1616
start_text = """
1717
18-
__ __ _ __ ____ _
19-
\ \ / / _ _ _ __ ___ (_) / _| _ _ | __ ) ___ | |_
20-
\ V / | | | || '_ ` _ \ | || |_ | | | || _ \ / _ \ | __|
21-
| | | |_| || | | | | || || _|| |_| || |_) || (_) || |_
22-
|_| \__,_||_| |_| |_||_||_| \__, ||____/ \___/ \__|
23-
|___/
18+
____ _ _ _ ____ _
19+
/ ___|| | | | / \ _ __ ___ _ __ __ _ | __ ) ___ | |_
20+
| | _ | |_| | / _ \ | '__| / _ \| '_ \ / _` || _ \ / _ \ | __|
21+
| |_| || _ | / ___ \ | | | __/| | | || (_| || |_) || (_) || |_
22+
\____||_| |_|/_/ \_\|_| \___||_| |_| \__,_||____/ \___/ \__|
2423
2524
Select an action:
2625

main.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import asyncio
2+
from contextlib import suppress
3+
4+
from bot.utils.launcher import process
5+
6+
7+
async def main():
8+
await process()
9+
10+
11+
if __name__ == '__main__':
12+
with suppress(KeyboardInterrupt):
13+
asyncio.run(main())

0 commit comments

Comments
 (0)