Skip to content

Commit 97ce339

Browse files
committed
Only log user IDs in debug mode
1 parent 09c6a5b commit 97ce339

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

eggsplode/core.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,10 @@ async def start(self, interaction: discord.Interaction):
150150
self.last_interaction = interaction
151151
self.inactivity_count = 0
152152
self.started = True
153-
logger.info(
154-
"Game %s: Started.\nPlayers: %s\nRecipe: %s",
155-
self.id,
156-
self.players,
157-
self.config["recipe"],
158-
)
153+
logger.info("Game %s: Started.", self.id)
154+
logger.debug("Players: %s", self.players)
155+
logger.debug("Recipe: %s", self.config["recipe"])
156+
logger.debug("Hands: %s", self.hands)
159157
await self.send(TextView("game_started"), interaction)
160158
await self.events.turn_start()
161159
await self.action_timer()

0 commit comments

Comments
 (0)