Vérifiez si le message est dans DM Discord.py
@client.command()
async def check(ctx):
if ctx.channel.type == discord.ChannelType.private:
await ctx.send("Message is in dm")
else:
await ctx.send("Message is not in dm")
# watch cocomelon :)
Cant Code