title: Attribute Object Error "Object has no attribute 'message'"
body: <p>Hi I'm getting the error </p>
  
  <pre><code>File "C:\Users\Tom\Documents\bot\cogs\misccoms.py", line 28, in giveRole
      example = discord.utils.get(ctx.message.server.roles,name='Example')
  AttributeError: 'Misccoms' object has no attribute 'message'
  </code></pre>
  
  <p>From this line of code </p>
  
  <pre><code> @commands.command(pass_context=True,  no_pm=True)
      async def giveRole(ctx):
          example = discord.utils.get(ctx.message.server.roles,name='Example')
          await self.bot.add_roles(ctx.message.mentions[0], example)
  </code></pre>
  
  <p>The function of this command is supposed to place a role on a member in this case the role is <code>Example</code>. </p>
  
  <p>The full code as follows is </p>
  
  <pre><code>import discord
  from discord.ext import commands
  from .utils import checks
  
  class Misccoms:
      """Misccoms"""
  
      def __init__(self, bot):
          self.bot = bot
  
  
  #Tool Commands
  
  
      @commands.command(pass_context=True,  no_pm=True)
      async def giveRole(ctx):
          example = discord.utils.get(ctx.message.server.roles,name='Example')
          await self.bot.add_roles(ctx.message.mentions[0], example)
  
  
  def setup(bot):
      bot.add_cog(Misccoms(bot))
  </code></pre>
  
  <p>I'm not sure where I'm going wrong here. </p>