mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
refactor(Guild): remove region from guild and manager methods (#5766)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -768,7 +768,6 @@ declare module 'discord.js' {
|
||||
public presences: PresenceManager;
|
||||
public readonly publicUpdatesChannel: TextChannel | null;
|
||||
public publicUpdatesChannelID: Snowflake | null;
|
||||
public region: string;
|
||||
public roles: RoleManager;
|
||||
public readonly rulesChannel: TextChannel | null;
|
||||
public rulesChannelID: Snowflake | null;
|
||||
@@ -823,7 +822,6 @@ declare module 'discord.js' {
|
||||
public setOwner(owner: GuildMemberResolvable, reason?: string): Promise<Guild>;
|
||||
public setPreferredLocale(preferredLocale: string, reason?: string): Promise<Guild>;
|
||||
public setPublicUpdatesChannel(publicUpdatesChannel: ChannelResolvable | null, reason?: string): Promise<Guild>;
|
||||
public setRegion(region: string, reason?: string): Promise<Guild>;
|
||||
public setRolePositions(rolePositions: readonly RolePosition[]): Promise<Guild>;
|
||||
public setRulesChannel(rulesChannel: ChannelResolvable | null, reason?: string): Promise<Guild>;
|
||||
public setSplash(splash: Base64Resolvable | null, reason?: string): Promise<Guild>;
|
||||
@@ -2962,7 +2960,6 @@ declare module 'discord.js' {
|
||||
defaultMessageNotifications?: DefaultMessageNotifications | number;
|
||||
explicitContentFilter?: ExplicitContentFilterLevel | number;
|
||||
icon?: BufferResolvable | Base64Resolvable | null;
|
||||
region?: string;
|
||||
roles?: PartialRoleData[];
|
||||
systemChannelFlags?: SystemChannelFlagsResolvable;
|
||||
systemChannelID?: number;
|
||||
@@ -2976,7 +2973,6 @@ declare module 'discord.js' {
|
||||
|
||||
interface GuildEditData {
|
||||
name?: string;
|
||||
region?: string;
|
||||
verificationLevel?: VerificationLevel | number;
|
||||
explicitContentFilter?: ExplicitContentFilterLevel | number;
|
||||
defaultMessageNotifications?: DefaultMessageNotifications | number;
|
||||
|
||||
Reference in New Issue
Block a user