original_docstring: Enable the block_all check for this guild and send a warning report.
docstring: Enable the block_all check for this guild and send a warning report.
docstring_tokens: Enable the block_all check for this guild and send a warning report .
code: async def _lockdown(self):
          """Enable the block_all check for this guild and send a warning report."""
          gatekeeper_cog = self.bot.get_cog("Gatekeeper")
          async with gatekeeper_cog.edit_config(self.guild) as config:
              config["checks"] = {
                  **config.get("checks", {}),
                  "block_all": {"enabled": True},
              }
  
          # TODO: have this be reported in a separate channel, with a mod ping!
          await self.report(
              "Users are joining too quickly. `block_all` has automatically been enabled."
          )
code_tokens: async def _lockdown ( self ) : gatekeeper_cog = self . bot . get_cog ( "Gatekeeper" ) async with gatekeeper_cog . edit_config ( self . guild ) as config : config [ "checks" ] = { ** config . get ( "checks" , { } ) , "block_all" : { "enabled" : True } , } await self . report ( "Users are joining too quickly. `block_all` has automatically been enabled." )
short_docstring: Enable the block_all check for this guild and send a warning report.
short_docstring_tokens: Enable the block_all check for this guild and send a warning report .
comment: """Enable the block_all check for this guild and send a warning report."""$SEP$# TODO: have this be reported in a separate channel, with a mod ping!