This is the code I have now.
@bot.event async def on_message(message): if message.content.startswith('!hw'): channel = message.channel bot.doing = True await bot.get_channel(806572323343826955).send(message.content)
The problem is it gets every time that command was ever used in the channel and sends it. I just want it to get the one command that was just typed in by the bot.
1.4m articles
1.4m replys
5 comments
57.0k users