original_docstring: Send a message to the designated broadcast channel of a guild.
  
          If the bot doesn't have permission to send to the channel, the error
          will be silently dropped.
          
docstring: Send a message to the designated broadcast channel of a guild.
  If the bot doesn't have permission to send to the channel, the error
  will be silently dropped.
docstring_tokens: Send a message to the designated broadcast channel of a guild . If the bot doesn ' t have permission to send to the channel the error will be silently dropped .
code: async def report(self, *args, **kwargs) -> T.Optional[discord.Message]:
          """Send a message to the designated broadcast channel of a guild.
  
          If the bot doesn't have permission to send to the channel, the error
          will be silently dropped.
          """
          channel = self.broadcast_channel
  
          if not channel:
              self.log.warning("no broadcast channel, cannot report")
              return
  
          if channel.guild != self.guild:
              self.log.warning("broadcast channel is somewhere else, ignoring")
              return
  
          try:
              return await channel.send(*args, **kwargs)
          except discord.HTTPException as error:
              self.log.warning("unable to send message to %r: %r", channel, error)
code_tokens: async def report ( self , * args , ** kwargs ) -> T . Optional [ discord . Message ] : channel = self . broadcast_channel if not channel : self . log . warning ( "no broadcast channel, cannot report" ) return if channel . guild != self . guild : self . log . warning ( "broadcast channel is somewhere else, ignoring" ) return try : return await channel . send ( * args , ** kwargs ) except discord . HTTPException as error : self . log . warning ( "unable to send message to %r: %r" , channel , error )
short_docstring: Send a message to the designated broadcast channel of a guild.
short_docstring_tokens: Send a message to the designated broadcast channel of a guild .
comment: """Send a message to the designated broadcast channel of a guild.
  
          If the bot doesn't have permission to send to the channel, the error
          will be silently dropped.
          """