Construct Public Bot
Client
Data
Optionalavatar?: stringOptionaldefault_permissions?: null | numberFormat: int64
Optionaldescription?: stringOptionalprivacy_policy_url?: stringOptionalterms_of_service_url?: stringOptional ReadonlyavatarReadonlydefaultPermissions the bot asks for (0n when unset or the instance doesn't send them)
Optional ReadonlydescriptionReadonlyidReadonlyusernameAdd the bot to a server
Server
Optionalpermissions: bigintPermissions to grant the bot (requires Manage Roles)
Public Bot Class