Private functions#
Moobius._set_loguru#
Sets the log levels etc. Set after setting self._config.
**Moobius._set_loguru**(self)
__(this class constructor accepts no arguments):__
None.
(this function does not raise any notable errors)
Moobius._convert_message_content#
**Moobius._convert_message_content**(self, subtype, content)
__subtype:__ Subtype.
__content:__ The string or dict-valued content,.
The MessageContent object.
(this function does not raise any notable errors)
Moobius._update_rec#
Use this function in the in the “recipients” fields of the websocket. Converts lists into group_id strings, creating a group if need be, when.
**Moobius._update_rec**(self, recipients, is_m_down, channel_id)
__recipients:__ Recipients.
__is_m_down:__ True if a message down.
__channel_id=None:__ The channel_id.
The converted list.
(this function does not raise any notable errors)
Moobius._checkin#
Called as a rate task, used to resync users, etc. Only called after on_start().
**Moobius._checkin**(self)
__(this class constructor accepts no arguments):__
None.
(this function does not raise any notable errors)
Moobius.__str__#
The string output function for debugging.
**Moobius.__str__**(self)
__(this class constructor accepts no arguments):__
The easy-to-read string summary.
(this function does not raise any notable errors)
Moobius.__repr__#
The string output function for debugging.
**Moobius.__repr__**(self)
__(this class constructor accepts no arguments):__
The easy-to-read string summary.
(this function does not raise any notable errors)
Moobius.handle_received_payload._group2ids#
**Moobius.handle_received_payload._group2ids**(g_id)
__g_id:__ Gorup id.
The list of character id strings.
(this function does not raise any notable errors)
Private attributes#
Moobius.handle_received_payload._group2ids
Moobius.handle_received_payload._group2ids