title: What does module not callable mean?
body: <p>I have a command that you need a specific Role for, I've tried to write a code piece that tells the user of the command if they don't have the correct role,</p>
  <p>however it throws a type error at me on bot start up saying the the 'module' is not callable?</p>
  <p>What does 'module not callable' mean?</p>
  <p>Here's the code;</p>
  <pre><code>@client.command()
  @commands.has_role(875786906443599884)
  async def sra(ctx, member: discord.Member = None):
  if not member:
      member = ctx.author
  amod = ctx.guild.get_role(848057125283954688)
  loa = ctx.guild.get_role(848032714715561985)
  await member.add_roles(amod)
  await member.remove_roles(loa)
  await ctx.send(&quot;Welcome back! &quot; + str(member))
  modReturnEmbed = discord.Embed(
      title='Return Log', description='This staff member has returned from leave! ' + str(member), color=0x000000)
  modReturnEmbed.set_footer(text=&quot;LeaveManager Bot&quot;)
  modReturnEmbed.set_author(name='Leave Manager')
  botLogChannel = client.get_channel(874959002172268685)
  await botLogChannel.send(embed=modReturnEmbed)
  
  @commands.errors
  async def missing_role(ctx, error):
  if isinstance(error, commands.MissingRole):
      await ctx.send('You do not have permission to use this command!')
  </code></pre>