Closed rogermiranda1000 closed 3 years ago
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’".
Capital I capital D. ID
Thanks! My bad, I didn't see the inherited argument from the documentation.
It's in the docs, under the inherited members section.
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’".