Expand description
Which events a bot gets (specification §8.13 “Events”): a manifest’s events names wire
event types, groups of them, or *; some groups also need a capability.
Constants§
- GROUPS
- The groups a manifest may name, with their event types.
Functions§
- allowed
- Whether the capabilities allow events of
kind: member events needmembers, presence needspresence, DM events needdms; everything else is visible to any member anyway. - group_
of - The group an event type belongs to, if any.
- known
- Whether
nameis something a manifest’seventsmay list. - wants
- Whether a bot subscribed to
events(and holdingcaps) gets events ofkind.