How do you have a Discord bot read DMs sent to it? (discord.py)
问题 I've come up with a way to DM people, but I want to know what they say back to the bot through DMs, as if the bot "reads" the DM, and then forwards it to some channel in a discord server of mine, or, even better, DM it to me. Here is my starting code: if message.content.startswith("!dm"): if message.author.id == "[YOUR ID HERE]": memberID = "ID OF RECIPIENT" server = message.server person = discord.Server.get_member(server, memberID) await client.delete_message(message) await client.send