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

Afficher le fichier Open project: Kusoneko/Nekobot

Méthodes publiques

Méthode 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 méthode

public static BlacklistUser ( this client, Discord.User user ) : void
client this
user Discord.User
Résultat void

BlacklistUser() public static méthode

public static BlacklistUser ( this client, ulong userId ) : void
client this
userId ulong
Résultat void

GetBlacklistedUserIds() public static méthode

public static GetBlacklistedUserIds ( this client ) : IEnumerable
client this
Résultat IEnumerable

UnBlacklistUser() public static méthode

public static UnBlacklistUser ( this client, Discord.User user ) : void
client this
user Discord.User
Résultat void

UnBlacklistUser() public static méthode

public static UnBlacklistUser ( this client, ulong userId ) : void
client this
userId ulong
Résultat void

UseGlobalBlacklist() public static méthode

public static UseGlobalBlacklist ( this builder ) : CommandBuilder
builder this
Résultat CommandBuilder

UseGlobalBlacklist() public static méthode

public static UseGlobalBlacklist ( this builder ) : CommandGroupBuilder
builder this
Résultat CommandGroupBuilder

UseGlobalBlacklist() public static méthode

public static UseGlobalBlacklist ( this service ) : CommandService
service this
Résultat CommandService

UsingGlobalBlacklist() public static méthode

public static UsingGlobalBlacklist ( this client ) : Discord.DiscordClient
client this
Résultat Discord.DiscordClient