C# Class Nekobot.Commands.Permissions.Userlist.BlacklistExtensions

显示文件 Open project: Kusoneko/Nekobot

Public Methods

Method Description
BlacklistUser ( this client, Discord.User user ) : void
BlacklistUser ( this client, ulong userId ) : void
GetBlacklistedUserIds ( this client ) : IEnumerable
UnBlacklistUser ( this client, Discord.User user ) : void
UnBlacklistUser ( this client, ulong userId ) : void
UseGlobalBlacklist ( this builder ) : CommandBuilder
UseGlobalBlacklist ( this builder ) : CommandGroupBuilder
UseGlobalBlacklist ( this service ) : CommandService
UsingGlobalBlacklist ( this client ) : Discord.DiscordClient

Method Details

BlacklistUser() public static method

public static BlacklistUser ( this client, Discord.User user ) : void
client this
user Discord.User
return void

BlacklistUser() public static method

public static BlacklistUser ( this client, ulong userId ) : void
client this
userId ulong
return void

GetBlacklistedUserIds() public static method

public static GetBlacklistedUserIds ( this client ) : IEnumerable
client this
return IEnumerable

UnBlacklistUser() public static method

public static UnBlacklistUser ( this client, Discord.User user ) : void
client this
user Discord.User
return void

UnBlacklistUser() public static method

public static UnBlacklistUser ( this client, ulong userId ) : void
client this
userId ulong
return void

UseGlobalBlacklist() public static method

public static UseGlobalBlacklist ( this builder ) : CommandBuilder
builder this
return CommandBuilder

UseGlobalBlacklist() public static method

public static UseGlobalBlacklist ( this builder ) : CommandGroupBuilder
builder this
return CommandGroupBuilder

UseGlobalBlacklist() public static method

public static UseGlobalBlacklist ( this service ) : CommandService
service this
return CommandService

UsingGlobalBlacklist() public static method

public static UsingGlobalBlacklist ( this client ) : Discord.DiscordClient
client this
return Discord.DiscordClient