original_docstring: Send a welcome message to new members of the server.
docstring: Send a welcome message to new members of the server.
docstring_tokens: Send a welcome message to new members of the server .
code: async def on_member_update(self, old: discord.Member, new: discord.Member) -> None:
          """Send a welcome message to new members of the server."""
          if old.pending and not new.pending:
              # Someone has just verified, send them a welcome message!
              embed = discord.Embed(
                  color=discord.Colour.green(),
                  description=WELCOME_MESSAGE,
              ).set_author(
                  name="Welcome to the Roycemore Discord Server!",
                  icon_url=new.guild.icon_url,
              )
  
              log.trace(new.guild.icon_url)
              log.info(f"Member {new} has just verified, sending them a welcome message!")
  
              await new.send(embed=embed)
code_tokens: async def on_member_update ( self , old : discord . Member , new : discord . Member ) -> None : if old . pending and not new . pending : embed = discord . Embed ( color = discord . Colour . green ( ) , description = WELCOME_MESSAGE , ) . set_author ( name = "Welcome to the Roycemore Discord Server!" , icon_url = new . guild . icon_url , ) log . trace ( new . guild . icon_url ) log . info ( f"Member {new} has just verified, sending them a welcome message!" ) await new . send ( embed = embed )
short_docstring: Send a welcome message to new members of the server.
short_docstring_tokens: Send a welcome message to new members of the server .
comment: """Send a welcome message to new members of the server."""$SEP$# Someone has just verified, send them a welcome message!