프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Copy | |||
DiscordMember | Newtonsoft.Json | ||
DiscordMember | Newtonsoft.Json | ||
Equals | bool | ||
SendActualMessage | void | ||
SetPresence | void |
메소드 | 설명 | |
---|---|---|
Ban ( int days ) : void |
Bans this DiscordMember from the guild that's assumed from their parent property.
|
|
ChangeNickname ( string nickname ) : void |
Changes the nickname for this user, if you have permission to do so.
|
|
Equals ( object obj ) : bool | ||
GetAvatar ( ) : |
Gets the user's avatar.
|
|
GetAvatarURL ( ) : |
|
|
HasPermission ( DiscordSpecialPermissions permission ) : bool |
Iterates all the roles the user has checking if any of the present have the permission you pass.
|
|
Kick ( ) : void |
Kicks this DiscordMember from the guild that's assumed from their parent property.
|
|
SendMessage ( string message ) : void | ||
SlideIntoDMs ( string message ) : void | ||
operator ( ) : bool |
메소드 | 설명 | |
---|---|---|
Copy ( ) : |
Testing copy method.
|
|
DiscordMember ( ) : Newtonsoft.Json |
should only be used for Newtonsoft.Json
|
|
DiscordMember ( DiscordClient parent ) : Newtonsoft.Json | ||
Equals ( |
||
SendActualMessage ( string id, string message ) : void | ||
SetPresence ( string status ) : void |
public Ban ( int days ) : void | ||
days | int | The number of days the user should be banned for, or 0 for infinite. |
리턴 | void |
public ChangeNickname ( string nickname ) : void | ||
nickname | string | null for no nickname. |
리턴 | void |
public HasPermission ( DiscordSpecialPermissions permission ) : bool | ||
permission | DiscordSpecialPermissions | The permission to check. |
리턴 | bool |