File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ message Event {
3939 uint64 user_id = 1 ;
4040 // User ID of the user that invited.
4141 uint64 inviter_id = 2 ;
42- // The invite for the guild.
42+ // The unique identifier of a user's invite to another
43+ // user to join a given guild.
4344 string invite_id = 3 ;
4445 }
4546 // Event sent when a user rejects a guild invitation.
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ service BotsService {
118118 // may display in its UI or restrict actions to prevent
119119 // request errors
120120 rpc Policies (PoliciesRequest ) returns (PoliciesResponse );
121- // The request to add a bot.
121+ // Requests a bot to add itself to the guild.
122+ //
123+ // For cross-server bots, this dispatches a UserInvited
124+ // request across sync, inviting the bot to the guild.
122125 rpc AddBot (AddBotRequest ) returns (AddBotResponse );
123126};
You can’t perform that action at this time.
0 commit comments