meds.event
object representing an event, uses a string as the default value and is able to be parsed for commands.
Exceptions
-
class
Event
[source]
Bases: meds.object.Object
-
announce
(txt)[source]
announce on all available channels on all available bots.
-
dispatch
()[source]
execute all functione registered in self._funcs list.
-
display
(obj=None, keys=[], txt='')[source]
display the content of an object.
-
done
()[source]
-
join
(*args, **kwargs)[source]
join threads started while handling this event.
-
ok
(txt='')[source]
reply with ‘ok’.
-
parse
(txt='')[source]
parse provided text or available self.txt and determine cmnd, args, rest and other values. Adds a _parsed object to the event.
-
reply
(txt)[source]
give a reply to the origin of this event.
-
say
(channel, txt)[source]
say something on a channel, using the bots available in the fleet.
-
show
()[source]
-
wait
()[source]
-
class
Parsed
[source]
Bases: meds.object.Object