title: discord.py How to make a command that does different things in different channels
body: <p>I'm making a game discord bot that has different channels as different &quot;areas,&quot; but I want the same command to do different things depending on what channel it was used in.</p>
  <p>This is what I have right now:</p>
  <pre><code>@client.command()
  async def fish(ctx):
    author = ctx.message.author
    channel = ctx.message.channel
    if channel == 'pallet-town' or channel == 'viridian-city' or channel == 'route-4':
      await ctx.send(f&quot;{author.mention}, do you want to use your old, good, or super rod?&quot;)
    else:
      await ctx.send('No water here!')
  </code></pre>
  <p>However, this returns &quot;No water here!&quot; even if I am in one of the aforementioned channels. Does anyone know why this is happening? Do I need to use the channel ID instead?</p>