Get user ID
rogermiranda1000 opened this issue · comments
rogermiranda1000 commented
According to User.h there's an id param that returns the user Snowflake, but running 'message.author.id.number()' gives an error: "error: ‘struct SleepyDiscord::User’ has no member named ‘id’".
Sleepy Flower commented
Capital I capital D. ID
rogermiranda1000 commented
Thanks! My bad, I didn't see the inherited argument from the documentation.
Sleepy Flower commented
It's in the docs, under the inherited members section.