(this, player)
| 197 | |
| 198 | @On(bot, "playerJoined") |
| 199 | def playerJoined(this, player): |
| 200 | print("joined", player) |
| 201 | if player["username"] != bot.username: |
| 202 | bot.chat(f"Hello, {player['username']}! Welcome to the server.") |
| 203 | |
| 204 | |
| 205 | @On(bot, "playerLeft") |
nothing calls this directly
no test coverage detected
searching dependent graphs…