original_docstring: Runs before archive_threads task to ensure that the task is allowed to run.
docstring: Runs before archive_threads task to ensure that the task is allowed to run.
docstring_tokens: Runs before archive_threads task to ensure that the task is allowed to run .
code: async def before_archive_threads(self) -> None:
          """Runs before archive_threads task to ensure that the task is allowed to run."""
          await self.client.wait_until_ready()
          if not is_client_pidroid(self.client):
              self.archive_threads.cancel()
code_tokens: async def before_archive_threads ( self ) -> None : await self . client . wait_until_ready ( ) if not is_client_pidroid ( self . client ) : self . archive_threads . cancel ( )
short_docstring: Runs before archive_threads task to ensure that the task is allowed to run.
short_docstring_tokens: Runs before archive_threads task to ensure that the task is allowed to run .
comment: """Runs before archive_threads task to ensure that the task is allowed to run."""