Skip to content

Add User Object to Ready Event Payload

Compare
Choose a tag to compare
@msciotti msciotti released this 24 Apr 22:04
· 35 commits to master since this release
64027b3

The ready() callback event will now return basic user information:

  • username
  • user id
  • avatar
  • discriminator

For the user to which your application is connected. This release also changes the struct name from DiscordJoinRequest to DiscordUser, to better reflect its purpose in the ready() and joinRequest() callbacks.