def METHOD_NAME(
    cls, name: str, type: ActivityType = ActivityType.GAME, url: Optional[str] = None, state: Optional[str] = None
) -> "Activity":
    """
    Creates an activity object for the bot.
    Args:
        name: The new activity's name
        type: Type of activity to create
        url: Stream link for the activity
        state: Current party status, or text used for a custom status if type is set as CUSTOM
    Returns:
        The new activity object
    """
    return cls(name=name, type=type, url=url, state=state)