title: Discord.py Rewrite: How to get the guild when member joins
body: <p>When a member joins a server, the <code>on_member_join</code> function is executed, according to the <a href="https://discordpy.readthedocs.io/en/latest/api.html?highlight=on_member_join#discord.on_member_join" rel="nofollow noreferrer">docs</a>:</p>
  <blockquote>
  <p>Called when a <code>Member</code> joins a <code>Guild</code>.</p>
  </blockquote>
  <p>Is there a way to get the <code>Guild</code> which the member has joined inside the <code>on_member_join</code> function?</p>
  <pre><code>async def on_member_join(member):
      guild_that_member_joined = ???
  </code></pre>