mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3018 from InspectorCaracal/patch-2
Fix for the excessive Discord reconnects
This commit is contained in:
commit
c829ba7be5
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ class DiscordWebsocketServerFactory(WebSocketClientFactory, protocol.Reconnectin
|
|||
reason (str): The reason for the failure.
|
||||
|
||||
"""
|
||||
if self.do_retry or not self.bot:
|
||||
if self.do_retry and self.bot:
|
||||
self.retry(connector)
|
||||
|
||||
def reconnect(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue