File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,6 @@ async def runner():
225
225
except discord .PrivilegedIntentsRequired :
226
226
retry_intents = True
227
227
if retry_intents :
228
- await self .http .close ()
229
228
if self .ws is not None and self .ws .open :
230
229
await self .ws .close (code = 1000 )
231
230
self ._ready .clear ()
@@ -236,9 +235,9 @@ async def runner():
236
235
# Try again with members intent
237
236
self ._connection ._intents = intents
238
237
logger .warning (
239
- "Attempting to login with only the server members and message content privileged intent. Some plugins might not work correctly."
238
+ "Attempting to reconnect with only the server members and message content privileged intent. Some plugins might not work correctly."
240
239
)
241
- await self .start ( self . token )
240
+ await self .connect ( reconnect = True )
242
241
except discord .PrivilegedIntentsRequired :
243
242
logger .critical (
244
243
"Privileged intents are not explicitly granted in the discord developers dashboard."
You can’t perform that action at this time.
0 commit comments