Add restart to compose file.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
parent
122622b442
commit
be5271372c
@ -2,5 +2,6 @@ services:
|
||||
parkerbot:
|
||||
build: .
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data:/data
|
||||
|
1
main.py
1
main.py
@ -232,6 +232,7 @@ async def send_playlist_of_week(client, sender, room_id, playlist_id):
|
||||
content={"msgtype": "m.text", "body": reply_msg},
|
||||
)
|
||||
|
||||
|
||||
async def send_playlist_of_all(client, sender, room_id, playlist_id):
|
||||
"""Sends playlist of all time in reply to sender, in room with room_id."""
|
||||
playlist_link = f"https://www.youtube.com/playlist?list={playlist_id}"
|
||||
|
Loading…
Reference in New Issue
Block a user