Skip to content

Commit

Permalink
refactor(APIGuildScheduledEventBase): make creator_id optional (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Feb 8, 2022
1 parent 269a75c commit ee2b7cd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v8/guildScheduledEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v9/guildScheduledEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/
Expand Down
2 changes: 1 addition & 1 deletion payloads/v8/guildScheduledEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/
Expand Down
2 changes: 1 addition & 1 deletion payloads/v9/guildScheduledEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/
Expand Down

0 comments on commit ee2b7cd

Please sign in to comment.