title: Discord BOT with Python, How to make it reply in the channel we send the command (Done)
body: <blockquote>
  <p><em><strong>Done! Thanks to anyone who helped me out:) Still maybe you have better answers, so, feel free to answer!</strong></em></p>
  </blockquote>
  <p>I know, this may look like a stupid question, but if you consider that I'm a beginner in <strong>making bots for Discord</strong> in Python beyond all my other Python knowledge and Stack Overflow being probably a place just for that, I hope it wouldn't. (I'm so new that I literally woke everyone in the home up by my happiness when I saw my bot turned online lol)</p>
  <p><strong>As I saw in other posts, tutorial, etc.; (don't mind the usage of , and ; it could be wrong) we have to specify the ID of the channel, so how can we just reply in the channel the user has sent the command in? Maybe getting the ID of the current channel with some type of a command? I don't know.</strong></p>
  <pre><code>import discord
  
  TOKEN = 'XXXXX'
  
  client = discord.Client()
  
  @client.event
  async def on_message(message):
      if message.author == client.user:
          return
  
      if message.content.startswith('!hello'):
          msg = 'Hi {0.author.mention}'.format(message)
          await client.send_message(message.channel, msg)
  
  @client.event
  async def on_ready():
      print('Logged in as')
      print(client.user.name)
      print(client.user.id)
      print('------')
  
  client.run(TOKEN)
  </code></pre>
  <p>(Since I'm lazy regenerating tokens, i made it xxxxx in this example but don't worry i put it in the normal code.)</p>
  <p>As I saw, there is no same question even though there are similar ones (i couldnt see an answer or a question definitely because everybody knows how to do that)</p>
  <p>The problem is in the send_message part. It gives an error.</p>