PrivateParlorXT::Services
Inherits Reference < Object
Container for all objects needed for handlers
Constructors
Creates an instance of Services.
Arguments:
config
: HandlerConfig object with a limited set of configuration values to be used in subclasses of Handler and CallbackHandler
locale
: Locale, general localized values from a locale file
replies
: Replies, system message replies from a locale file
logs
: Logs, log messages from a locale file
command_descriptions
: CommandDescriptions, descriptions for commands from a locale file
database
: Database object
history
: message History object
access
: AuthorizedRanks module used to ensure authorized use of commands and messages
relay
: Relay object for queueing messages and sending them to Telegram
spam
: SpamHandler object preventing message spam, if this module is toggled
robot9000
: Robot9000 object ensure message uniqueness, if this module is toggled
karma
: KarmaHandler object that requires users to have karma in order to send messages, if this module is toggled
stats
: Statistics object that records data about the bot, if this module is toggled