i can’t send dm to people other than me

You issue is with the ID you placed it as a string instead it should be victim.id. Also you didn’t use the message variable

Use it like this {prefix} dm @user Hello this is a test

async def dm(ctx, victim: discord.Member, *, message: str = None):
    if message:
        await victim.send(message)
        await victim.send("No message context")

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top