feat: add bot class
This commit is contained in:
		
							
								
								
									
										16
									
								
								src/bot.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/bot.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| from __future__ import annotations | ||||
|  | ||||
| from typing import TYPE_CHECKING | ||||
|  | ||||
| from src.snapshot import Snapshot | ||||
|  | ||||
| if TYPE_CHECKING: | ||||
|     from src.recorder import RecorderWindow | ||||
|  | ||||
|  | ||||
| class Bot: | ||||
|     def __init__(self, recorder: RecorderWindow): | ||||
|         self.recorder: RecorderWindow = recorder | ||||
|  | ||||
|     def on_snapshot_received(self, snapshot: Snapshot): | ||||
|         pass | ||||
		Reference in New Issue
	
	Block a user