Skip to content

Access to user information. #11

@rolfwessels

Description

@rolfwessels

Hi,

I have been storing the userId in a database. I now want to send them a private message at random intervals. I was wondering if it would be possible to get user details directly from the Bot?

I looked at the source and I see that there is a private property on the bot. (I now use this property with reflection to get the user's name .. this is obviously just a work around). Is there any better way to get users information when you have either their id or name? Maybe even get their email address?

Thanks

Rolf

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