Load messages.json from repo root

This commit is contained in:
3nd3r
2025-12-29 23:35:38 -06:00
parent 7147f5f30c
commit f47778e608

3
src/duckhuntbot.py Normal file → Executable file
View File

@@ -38,7 +38,8 @@ class DuckHuntBot:
self.db = DuckDB(bot=self)
self.game = DuckGame(self, self.db)
self.messages = MessageManager()
messages_file = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'messages.json')
self.messages = MessageManager(messages_file)
self.sasl_handler = SASLHandler(self, config)