Update bot initialization to pass bot instance to webserver
- Modified PetBotWebServer instantiation to include bot parameter - Enables IRC PIN delivery for team builder functionality - Maintains existing webserver functionality while adding IRC integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
ff14710987
commit
30dcb7e4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class PetBotDebug:
|
|||
print("✅ Background validation started")
|
||||
|
||||
print("🔄 Starting web server...")
|
||||
self.web_server = PetBotWebServer(self.database, port=8080)
|
||||
self.web_server = PetBotWebServer(self.database, port=8080, bot=self)
|
||||
self.web_server.start_in_thread()
|
||||
print("✅ Web server started")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue