mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
fix excessive Discord reconnects
This commit is contained in:
parent
250c47c84c
commit
eabfede7ec
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