C# Class Dbot.Processor.Banner

Mostrar archivo Open project: destinygg/bot Class Usage Examples

Public Methods

Method Description
BanParser ( bool wait = false ) : HasVictim
Banner ( Message input, MessageProcessor messageProcessor, List context = null ) : System
ImgurNsfw ( ) : HasVictim
LongSpam ( ) : Mute
SelfSpam ( ) : Mute

Private Methods

Method Description
DeterminesHasVictim ( string word, UserHistory userHistory, string key, double>.IDictionary externalDictionary, HasVictim hasVictim, bool wait ) : HasVictim
GetImgurId ( string imgurId, string regex ) : string
IsNsfw ( string imgurId ) : bool
IsNsfwApi ( string x ) : bool
MuteAndIncrementHardCoded ( UserHistory userHistory, string sectionName, string reason, bool wait ) : Mute
NumberSpam ( ) : Mute
RepeatCharacterSpam ( ) : Mute

Method Details

BanParser() public method

public BanParser ( bool wait = false ) : HasVictim
wait bool
return Dbot.CommonModels.HasVictim

Banner() public method

public Banner ( Message input, MessageProcessor messageProcessor, List context = null ) : System
input Message
messageProcessor MessageProcessor
context List
return System

ImgurNsfw() public method

public ImgurNsfw ( ) : HasVictim
return Dbot.CommonModels.HasVictim

LongSpam() public method

public LongSpam ( ) : Mute
return Dbot.CommonModels.Mute

SelfSpam() public method

public SelfSpam ( ) : Mute
return Dbot.CommonModels.Mute