title: Discord.py check if input is int
body: <p>I am trying to write a raffle command for my bot using discord.py and want it so the user can do the following command to start a raffle:</p>
  
  <p>!raffle time winners title EG: !raffle 60 1 Pie</p>
  
  <p>The issue I am having is creating validation to check that the first two inputs are numbers and that the title isn't blank. Currently this is the code I have for the command:</p>
  
  <pre><code>@bot.command(pass_context=True)
  async def raffle(ctx, time, winners, title):    
  
      if time != int or winners != int or title != "":
          await bot.say("{} raffle has been started for {} seconds and there will be {} winner(s)!".format(title, time, winners))
      else:
          await bot.say("Seems you went wrong! Raffle format is: !raffle time winners title")
          return
  </code></pre>
  
  <p>However I am having no luck and am getting the following error:</p>
  
  <pre><code>Ignoring exception in command raffle
  Traceback (most recent call last):
    File "C:\Users\kairj\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\bot.py", line 846, in process_commands
      yield from command.invoke(ctx)
    File "C:\Users\kairj\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 367, in invoke
      yield from self.prepare(ctx)
    File "C:\Users\kairj\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 345, in prepare
      yield from self._parse_arguments(ctx)
    File "C:\Users\kairj\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 304, in _parse_arguments
      transformed = yield from self.transform(ctx, param)
    File "C:\Users\kairj\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\ext\commands\core.py", line 212, in transform
      raise MissingRequiredArgument('{0.name} is a required argument that is missing.'.format(param))
  discord.ext.commands.errors.MissingRequiredArgument: time is a required argument that is missing.
  </code></pre>
  
  <p>Any help would be great as I am sure its a simple mistake somewhere!</p>
  
  <p>Thanks in advance</p>