types(AutoModerationActionMetadataOptions): make channel property optional (#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>
This commit is contained in:
Idris
2023-04-28 19:13:27 +02:00
committed by GitHub
parent 78fe247fc4
commit d26df5faba

View File

@@ -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'> {