curious.dataclasses.appinfo

Wrappers for Application Info objects.

Classes

AppInfo(client, **kwargs) Represents the application info for an OAuth2 application.
class curious.dataclasses.appinfo.AppInfo(client, **kwargs) → None[source]

Bases: curious.dataclasses.bases.Dataclass

Represents the application info for an OAuth2 application.

Inspects the stack to ensure we’re being called correctly.

client_id = None

The client ID of this application.

owner = None

The owner of this application. This can be None if the application fetched isn’t the bot’s.

name = None

The name of this application.

description = None

The description of this application.

public = None

Is this bot public?

requires_code_grant = None

Does this bot require OAuth2 Code Grant?

_icon_hash = None

The icon hash for this application.

snowflake_timestamp
Return type:datetime
Returns:The timestamp of the snowflake.
bot = None

The bot User associated with this application, if available.

icon_url
Return type:Optional[str]
Returns:The icon url for this bot.