dpytest icon indicating copy to clipboard operation
dpytest copied to clipboard

Sending a message through seems to create a new user

Open deydist opened this issue 7 months ago • 0 comments

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.

deydist avatar Jul 09 '24 16:07 deydist