original_docstring: Kick ("bounce") a user from the guild.
  
          An embed with the provided bounce reason will be reported to the guild's
          broadcast channel.
          
docstring: Kick ("bounce") a user from the guild.
  An embed with the provided bounce reason will be reported to the guild's
  broadcast channel.
docstring_tokens: Kick ( " bounce " ) a user from the guild . An embed with the provided bounce reason will be reported to the guild ' s broadcast channel .
code: async def bounce(self, member: discord.Member, reason: str):
          """Kick ("bounce") a user from the guild.
  
          An embed with the provided bounce reason will be reported to the guild's
          broadcast channel.
          """
          await self.send_bounce_message(member)
  
          try:
              await member.kick(reason=f"Gatekeeper: {reason}")
          except discord.HTTPException as error:
              self.log.debug("failed to kick %d: %r", member.id, error)
              await self.report(f"Failed to kick {represent(member)}: `{error}`")
          else:
              embed = create_embed(
                  member,
                  color=discord.Color.red(),
                  title=f"Bounced {represent(member)}",
                  reason=reason,
              )
              await self.report(embed=embed)
code_tokens: async def bounce ( self , member : discord . Member , reason : str ) : await self . send_bounce_message ( member ) try : await member . kick ( reason = f"Gatekeeper: {reason}" ) except discord . HTTPException as error : self . log . debug ( "failed to kick %d: %r" , member . id , error ) await self . report ( f"Failed to kick {represent(member)}: `{error}`" ) else : embed = create_embed ( member , color = discord . Color . red ( ) , title = f"Bounced {represent(member)}" , reason = reason , ) await self . report ( embed = embed )
short_docstring: Kick ("bounce") a user from the guild.
short_docstring_tokens: Kick ( " bounce " ) a user from the guild .
comment: """Kick ("bounce") a user from the guild.
  
          An embed with the provided bounce reason will be reported to the guild's
          broadcast channel.
          """