soulfire.semantic

Attributes

Classes

Functions

match_chat(→ ChatMatch | None)

Module Contents

type soulfire.semantic.HeaderProvider = Callable[[dict[str, str] | None], dict[str, str] | None]
type soulfire.semantic.ChatMatcher = str | re.Pattern[str] | Callable[[BotChatEvent], bool]
type soulfire.semantic.ChatEventStream = Callable[[BotEventFilter, int | None], Stream[BotEvent, SoulFireOperationError]]
soulfire.semantic.match_chat(event: soulfire.bot_live_pb2.BotChatEvent, matcher: ChatMatcher) → ChatMatch | None[source]