csbot.plugins.last module¶
-
class
csbot.plugins.last.
Last
(bot)[source]¶ Bases:
csbot.plugin.Plugin
Utility plugin to record the last message (and time said) of a user. Records both messages and actions individually, and allows querying on either.
-
db
¶ Descriptor for plugin attributes that get (and cache) a value from another plugin.
See
Plugin.use()
.
-
last
(nick, channel=None, msgtype=None)[source]¶ Get the last thing said (including actions) by a given nick, optionally filtering by channel.
-
last_message
(nick, channel=None)[source]¶ Get the last message sent by a nick, optionally filtering by channel.
-
last_action
(nick, channel=None)[source]¶ Get the last action sent by a nick, optionally filtering by channel.
-