Skip to content

Change Requests

genjishimada_sdk.change_requests

ChangeRequestCreateRequest

Bases: Struct

Payload for creating a change request.

Attributes:

Name Type Description
thread_id int

Discord thread identifier where the request is tracked.

user_id int

Identifier of the user submitting the request.

code str

Overwatch workshop code for the associated map.

content str

Freeform description of the requested change.

change_request_type ChangeRequestType

Category describing the request type.

creator_mentions str

Mention string for notifying map creators.

change_request_type: ChangeRequestType instance-attribute

code: str instance-attribute

content: str instance-attribute

creator_mentions: str instance-attribute

thread_id: int instance-attribute

user_id: int instance-attribute

ChangeRequestResponse

Bases: Struct

Represents a persisted change request entry.

Attributes:

Name Type Description
thread_id int

Discord thread identifier where the request is tracked.

user_id int

Identifier of the user that opened the request.

code str

Overwatch workshop code for the associated map.

content str

Description of the requested change.

change_request_type ChangeRequestType

Category describing the request type.

creator_mentions str | None

Mention string for notifying map creators, if any.

alerted bool

Whether the request has been surfaced to moderators or staff.

resolved bool

Whether the change request has been completed.

alerted: bool = False class-attribute instance-attribute

change_request_type: ChangeRequestType instance-attribute

code: str instance-attribute

content: str instance-attribute

creator_mentions: str | None = None class-attribute instance-attribute

resolved: bool = False class-attribute instance-attribute

thread_id: int instance-attribute

user_id: int instance-attribute

ChangeRequestType = Literal['Difficulty Change', 'Map Geometry', 'Map Edit Required', 'Framework/Workshop', 'Other'] module-attribute

StaleChangeRequestResponse

Bases: Struct

Old change request that needs follow-up.

Attributes:

Name Type Description
thread_id int

Discord thread identifier for the stale request.

user_id int

Identifier of the user who created the request.

creator_mentions str

Mention string for notifying map creators.

creator_mentions: str instance-attribute

thread_id: int instance-attribute

user_id: int instance-attribute

__all__ = ('ChangeRequestCreateRequest', 'ChangeRequestResponse', 'ChangeRequestType', 'StaleChangeRequestResponse') module-attribute