mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
feat(typings): add number type for setExplicitContentFilter method (#4694)
This commit is contained in:
parent
980243f2d5
commit
e7eda72c9d
1 changed files with 4 additions and 4 deletions
8
typings/index.d.ts
vendored
8
typings/index.d.ts
vendored
|
|
@ -699,7 +699,7 @@ declare module 'discord.js' {
|
|||
): Promise<Guild>;
|
||||
public setDiscoverySplash(discoverySplash: Base64Resolvable | null, reason?: string): Promise<Guild>;
|
||||
public setEmbed(embed: GuildWidgetData, reason?: string): Promise<Guild>;
|
||||
public setExplicitContentFilter(explicitContentFilter: ExplicitContentFilterLevel, reason?: string): Promise<Guild>;
|
||||
public setExplicitContentFilter(explicitContentFilter: ExplicitContentFilterLevel | number, reason?: string): Promise<Guild>;
|
||||
public setIcon(icon: Base64Resolvable | null, reason?: string): Promise<Guild>;
|
||||
public setName(name: string, reason?: string): Promise<Guild>;
|
||||
public setOwner(owner: GuildMemberResolvable, reason?: string): Promise<Guild>;
|
||||
|
|
@ -711,7 +711,7 @@ declare module 'discord.js' {
|
|||
public setSplash(splash: Base64Resolvable | null, reason?: string): Promise<Guild>;
|
||||
public setSystemChannel(systemChannel: ChannelResolvable | null, reason?: string): Promise<Guild>;
|
||||
public setSystemChannelFlags(systemChannelFlags: SystemChannelFlagsResolvable, reason?: string): Promise<Guild>;
|
||||
public setVerificationLevel(verificationLevel: VerificationLevel, reason?: string): Promise<Guild>;
|
||||
public setVerificationLevel(verificationLevel: VerificationLevel | number, reason?: string): Promise<Guild>;
|
||||
public setWidget(widget: GuildWidgetData, reason?: string): Promise<Guild>;
|
||||
public splashURL(options?: ImageURLOptions): string | null;
|
||||
public toJSON(): object;
|
||||
|
|
@ -2542,8 +2542,8 @@ declare module 'discord.js' {
|
|||
interface GuildEditData {
|
||||
name?: string;
|
||||
region?: string;
|
||||
verificationLevel?: VerificationLevel;
|
||||
explicitContentFilter?: ExplicitContentFilterLevel;
|
||||
verificationLevel?: VerificationLevel | number;
|
||||
explicitContentFilter?: ExplicitContentFilterLevel | number;
|
||||
defaultMessageNotifications?: DefaultMessageNotifications | number;
|
||||
afkChannel?: ChannelResolvable;
|
||||
systemChannel?: ChannelResolvable;
|
||||
|
|
|
|||
Loading…
Reference in a new issue