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():
225225 except discord .PrivilegedIntentsRequired :
226226 retry_intents = True
227227 if retry_intents :
228- await self .http .close ()
229228 if self .ws is not None and self .ws .open :
230229 await self .ws .close (code = 1000 )
231230 self ._ready .clear ()
@@ -236,9 +235,9 @@ async def runner():
236235 # Try again with members intent
237236 self ._connection ._intents = intents
238237 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."
240239 )
241- await self .start ( self . token )
240+ await self .connect ( reconnect = True )
242241 except discord .PrivilegedIntentsRequired :
243242 logger .critical (
244243 "Privileged intents are not explicitly granted in the discord developers dashboard."
You can’t perform that action at this time.
0 commit comments