Skip to content

Commit

Permalink
types(AutoModerationActionMetadataOptions): make channel property opt…
Browse files Browse the repository at this point in the history
…ional (#9460)

* refactor(GuildMember): make _roles a getter and roles a normal prop

* types(AutoModerationActionMetadataOptions): make channel property optional

* fix: revert changes from another PR

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
Idris1401 and kodiakhq[bot] committed Apr 28, 2023
1 parent 78fe247 commit d26df5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Expand Up @@ -5429,7 +5429,7 @@ export interface AutoModerationActionOptions {
}

export interface AutoModerationActionMetadataOptions extends Partial<Omit<AutoModerationActionMetadata, 'channelId'>> {
channel: GuildTextChannelResolvable | ThreadChannel;
channel?: GuildTextChannelResolvable | ThreadChannel;
}

export interface GuildChannelCreateOptions extends Omit<CategoryCreateChannelOptions, 'type'> {
Expand Down

0 comments on commit d26df5f

Please sign in to comment.