feat(Guild): add setBanner method and banner to edit (#3708)

This commit is contained in:
SpaceEEC
2020-01-19 13:07:09 +01:00
committed by GitHub
parent 0f49d67e2e
commit 01826aeefe
2 changed files with 14 additions and 0 deletions

2
typings/index.d.ts vendored
View File

@@ -570,6 +570,7 @@ declare module 'discord.js' {
public search(options?: MessageSearchOptions): Promise<MessageSearchResult>;
public setAFKChannel(afkChannel: ChannelResolvable, reason?: string): Promise<Guild>;
public setAFKTimeout(afkTimeout: number, reason?: string): Promise<Guild>;
public setBanner(banner: Base64Resolvable, reason?: string): Promise<Guild>;
public setChannelPosition(channel: string | GuildChannel, position: number, relative?: boolean): Promise<Guild>;
public setChannelPositions(channelPositions: ChannelPosition[]): Promise<Guild>;
public setDefaultMessageNotifications(defaultMessageNotifications: DefaultMessageNotifications, reason?: string): Promise<Guild>;
@@ -1877,6 +1878,7 @@ declare module 'discord.js' {
afkChannel?: ChannelResolvable;
systemChannel?: ChannelResolvable;
afkTimeout?: number;
banner?: Base64Resolvable;
icon?: Base64Resolvable;
owner?: GuildMemberResolvable;
splash?: Base64Resolvable;