ecasbot  1.3.1
EC AntiSpam bot for Telegram messenger
ecasbot.modules.helpers.ParamExtractor Class Reference

Public Member Functions

None __init__ (self, str query)
 
int index (self)
 
str param (self)
 

Private Attributes

 __delimeter
 
 __index
 
 __query
 

Constructor & Destructor Documentation

◆ __init__()

None ecasbot.modules.helpers.ParamExtractor.__init__ (   self,
str  query 
)
Main constructor of ParamExtractor class.
:param query: Source string.

Member Function Documentation

◆ index()

int ecasbot.modules.helpers.ParamExtractor.index (   self)
Parameters first index in source string.
:return: First index.

◆ param()

str ecasbot.modules.helpers.ParamExtractor.param (   self)
Extracted parameters from source string.
:return: Extracted parameters.