diff --git a/discord/client.py b/discord/client.py index 87e3cb3fa..16b1cfe00 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1012,6 +1012,11 @@ class Client: """ if self._ready is not MISSING: await self._ready.wait() + else: + raise RuntimeError( + 'Client has not been properly initialised. ' + 'Please use the login method or asynchronous context manager before calling this method' + ) def wait_for( self,