Skip to content

Sending a message through seems to create a new user #128

@deydist

Description

@deydist

Apologies if this is a foolish question...

When I use await dpytest.message("!alert test 0")

it appears to be sending through a new user each time as when I grab ctx.author from my main alert code it has an ID that was not seen before (I tested this by writing the user info to a file).

Even if I add member=member as a dpytest.message parameter where member is obtained from member = dpytest.runner.get_config().members[0]
I cant get the ctx.author to match the given member that I pass through. Am I missing something with config and documentation?

My end goal is to use the !alert test 0 to check if the param is 0 and remove an item from a list for that member.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions