yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots

Home Page:https://yourWaifu.github.io/sleepy-discord/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get user ID

rogermiranda1000 opened this issue · comments

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.