C# 클래스 Nekobot.Commands.Permissions.Userlist.WhitelistExtensions

파일 보기 프로젝트 열기: Kusoneko/Nekobot

공개 메소드들

메소드 설명
GetWhitelistedUserIds ( this client ) : IEnumerable
RemoveFromWhitelist ( this client, ulong userId ) : void
UnWhitelistUser ( this client, Discord.User user ) : void
UseGlobalWhitelist ( this builder ) : CommandBuilder
UseGlobalWhitelist ( this builder ) : CommandGroupBuilder
UseGlobalWhitelist ( this service ) : CommandService
UsingGlobalWhitelist ( this client ) : Discord.DiscordClient
WhitelistUser ( this client, Discord.User user ) : void
WhitelistUser ( this client, ulong userId ) : void

메소드 상세

GetWhitelistedUserIds() 공개 정적인 메소드

public static GetWhitelistedUserIds ( this client ) : IEnumerable
client this
리턴 IEnumerable

RemoveFromWhitelist() 공개 정적인 메소드

public static RemoveFromWhitelist ( this client, ulong userId ) : void
client this
userId ulong
리턴 void

UnWhitelistUser() 공개 정적인 메소드

public static UnWhitelistUser ( this client, Discord.User user ) : void
client this
user Discord.User
리턴 void

UseGlobalWhitelist() 공개 정적인 메소드

public static UseGlobalWhitelist ( this builder ) : CommandBuilder
builder this
리턴 CommandBuilder

UseGlobalWhitelist() 공개 정적인 메소드

public static UseGlobalWhitelist ( this builder ) : CommandGroupBuilder
builder this
리턴 CommandGroupBuilder

UseGlobalWhitelist() 공개 정적인 메소드

public static UseGlobalWhitelist ( this service ) : CommandService
service this
리턴 CommandService

UsingGlobalWhitelist() 공개 정적인 메소드

public static UsingGlobalWhitelist ( this client ) : Discord.DiscordClient
client this
리턴 Discord.DiscordClient

WhitelistUser() 공개 정적인 메소드

public static WhitelistUser ( this client, Discord.User user ) : void
client this
user Discord.User
리턴 void

WhitelistUser() 공개 정적인 메소드

public static WhitelistUser ( this client, ulong userId ) : void
client this
userId ulong
리턴 void