From 7c9b25fa58456645e6eee6f0f7790193557a7260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tesa=C5=99?= Date: Sat, 3 Aug 2024 20:24:43 +0200 Subject: [PATCH] docs: Update/fix confusing command sync tip This one particular line is a little bit confusing IMO, so I went and fixed it --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b6a2cec5..2f96f4039 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ docker compose down On startup the bot automatically syncs commands. Restarting the bot too frequently can lead to excessive synchronization attempts, causing the bot to time out from the Discord API. This timeout duration can vary widely, ranging anywhere from 10 minutes to up to X days. For debugging purposes it is recommended to set the `sync_commands=False` parameter. Be aware that the commands will not be updated on discord side (name, description, permissions, etc.), the functionality however will be updated. -To enable command synchronization debug logging, change the following setting in `rubbergod.py` to `True`. +Furthermore, if you want to enable command sync debugging info -- what exact update is being sent to the API and when --, you can also set the `sync_commands_debug` to `True` (info will be sent to `stderr`). ```python command_sync_flags=commands.CommandSyncFlags(sync_commands=True, sync_commands_debug=False),