API SetAutoDeclineGuildInvites

Sets whether guild invitations should be automatically declined.

SetAutoDeclineGuildInvites(decline)

Arguments

 * decline : String/Number - "1" or 1 if guild invitations should be automatically declined, or "0" or 0 if invitations should be shown to the user.

Triggers events

 * , if guild invitations will now be shown to the user
 * , if guild invitations will now be declined automatically

Details
Blizzard's code always passes in a string value, but the function accepts both strings and numbers, just like, and its counterpart returns numeric values, just like.