Skip to content

Objects


application

ApplicationModel dataclass

Bases: DataModel


              flowchart TD
              scurrypy.api.application.ApplicationModel[ApplicationModel]
              scurrypy.core.model.DataModel[DataModel]

                              scurrypy.core.model.DataModel --> scurrypy.api.application.ApplicationModel
                


              click scurrypy.api.application.ApplicationModel href "" "scurrypy.api.application.ApplicationModel"
              click scurrypy.core.model.DataModel href "" "scurrypy.core.model.DataModel"
            

Represents a Discord application.

id: Snowflake instance-attribute

ID of the application.

name: str instance-attribute

Name of the application.

icon: str | None instance-attribute

Icon hash of the application.

description: str | None instance-attribute

Description of the application.

bot_public: bool | None instance-attribute

If the application is public.

bot_require_code_grant: bool | None instance-attribute

If full OAuth2 code grant is required.

bot: UserModel | None instance-attribute

Partial bot user object of the application.

terms_of_service_url: str | None instance-attribute

Terms of Service URL of the application

privacy_policy: str | None instance-attribute

Privacy Policy URL of the application.

owner: UserModel | None instance-attribute

Partial user object of the owner of the application.

guild_id: Snowflake | None instance-attribute

Guild ID associated with the application.

guild: GuildModel | None instance-attribute

Partial guild object of the associated guild.

cover_image: str | None instance-attribute

Image hash of rich presence invite cover.

flags: ApplicationFlags | None instance-attribute

Public flags of the application.

approximate_guild_count: int | None instance-attribute

Approximate guild count of the guilds that installed the application.