Hey all, I published this tutorial on writing chatbots with Python and Discord a few weeks ago and I'm excited to share it with you here now. I'm watching the comments here and over at codementor so let me know if you have any questions.
https://www.codementor.io/garethdwyer/building-a-discord-bot-with-python-and-repl-it-miblcwejz
Just to let you know, to make this work with the newest version of discord.py, you need to change:
await client.send_message(message.channel, message.content[::-1])
to:
await message.channel.send(message.content[::-1])
Hey all, I published this tutorial on writing chatbots with Python and Discord a few weeks ago and I'm excited to share it with you here now. I'm watching the comments here and over at codementor so let me know if you have any questions.
https://www.codementor.io/garethdwyer/building-a-discord-bot-with-python-and-repl-it-miblcwejz
Just to let you know, to make this work with the newest version of discord.py, you need to change:
await client.send_message(message.channel, message.content[::-1])
to:
await message.channel.send(message.content[::-1])