Add restart to compose file.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
		@@ -2,5 +2,6 @@ services:
 | 
				
			|||||||
  parkerbot:
 | 
					  parkerbot:
 | 
				
			||||||
    build: .
 | 
					    build: .
 | 
				
			||||||
    env_file: .env
 | 
					    env_file: .env
 | 
				
			||||||
 | 
					    restart: unless-stopped
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./data:/data
 | 
					      - ./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},
 | 
					        content={"msgtype": "m.text", "body": reply_msg},
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async def send_playlist_of_all(client, sender, room_id, playlist_id):
 | 
					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."""
 | 
					    """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}"
 | 
					    playlist_link = f"https://www.youtube.com/playlist?list={playlist_id}"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user