diff options
| author | Ritabrata Das <[email protected]> | 2025-03-13 12:40:14 +0530 |
|---|---|---|
| committer | Ritabrata Das <[email protected]> | 2025-03-13 12:40:14 +0530 |
| commit | 5bf70cf2656630e3979ea8a4df6bf3a27cad6b43 (patch) | |
| tree | f3dfb0d2680eae50cc6d1fa2820190f6c29ad176 | |
| parent | b63fda551d01ce10231b46a657c4f9410a66ef37 (diff) | |
Do not send bot leave message to discord
| -rw-r--r-- | proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -344,8 +344,8 @@ async def handle_client(client_reader, client_writer): except Exception as e: warning(f"Error sending disconnect message: {e}") - if DISCORD_ENABLED: - await discord_send_message(CHANNEL_ID, f"{player.username} has left the server!") + if DISCORD_ENABLED: + await discord_send_message(CHANNEL_ID, f"{player.username} has left the server!") # Always close connections, regardless of previous state try: |
