seyfert 3.2.7-dev-18247187138.0 → 3.2.7-dev-18363537028.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type GuildMemberStructure, type GuildRoleStructure, type VoiceStateStructure } from '../../client/transformers';
|
|
2
2
|
import { PermissionsBitField } from '../../structures/extra/Permissions';
|
|
3
|
-
import { type APIGuildMember, type RESTGetAPIGuildMembersQuery, type RESTGetAPIGuildMembersSearchQuery, type RESTPatchAPIGuildMemberJSONBody, type RESTPutAPIGuildBanJSONBody, type RESTPutAPIGuildMemberJSONBody } from '../../types';
|
|
3
|
+
import { type APIGuildMember, type RESTGetAPIGuildMembersQuery, type RESTGetAPIGuildMembersSearchQuery, RESTPatchAPICurrentGuildMemberJSONBody, type RESTPatchAPIGuildMemberJSONBody, type RESTPutAPIGuildBanJSONBody, type RESTPutAPIGuildMemberJSONBody } from '../../types';
|
|
4
4
|
import type { GuildMemberResolvable } from '../types/resolvables';
|
|
5
5
|
import { BaseShorter } from './base';
|
|
6
6
|
export declare class MemberShorter extends BaseShorter {
|
|
@@ -48,9 +48,7 @@ export declare class MemberShorter extends BaseShorter {
|
|
|
48
48
|
* @param reason The reason for editing the member.
|
|
49
49
|
* @returns A Promise that resolves to the edited member.
|
|
50
50
|
*/
|
|
51
|
-
edit(guildId: string, memberId: string, body: RESTPatchAPIGuildMemberJSONBody |
|
|
52
|
-
nick?: string | null;
|
|
53
|
-
}, reason?: string): Promise<GuildMemberStructure>;
|
|
51
|
+
edit(guildId: string, memberId: string, body: RESTPatchAPIGuildMemberJSONBody | RESTPatchAPICurrentGuildMemberJSONBody, reason?: string): Promise<GuildMemberStructure>;
|
|
54
52
|
/**
|
|
55
53
|
* Adds a member to the guild.
|
|
56
54
|
* @param guildId The ID of the guild.
|
|
@@ -427,6 +427,18 @@ export interface RESTPatchAPICurrentGuildMemberJSONBody {
|
|
|
427
427
|
* Requires `CHANGE_NICKNAME` permission
|
|
428
428
|
*/
|
|
429
429
|
nick?: string | null | undefined;
|
|
430
|
+
/**
|
|
431
|
+
* Data URI base64 encoded banner image
|
|
432
|
+
*/
|
|
433
|
+
banner?: string | null | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* Data URI base64 encoded avatar image
|
|
436
|
+
*/
|
|
437
|
+
avatar?: string | null | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* Guild member bio
|
|
440
|
+
*/
|
|
441
|
+
bio?: string | null | undefined;
|
|
430
442
|
}
|
|
431
443
|
/**
|
|
432
444
|
* https://discord.com/developers/docs/resources/guild#add-guild-member-role
|