system

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2025 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserChatSystem

func UserChatSystem(state *UserChatSystemState) error

Types

type ChatSearch

type ChatSearch = cardinal.Exact[struct {
	UserTag cardinal.Ref[component.UserTag]
	Chat    cardinal.Ref[component.Chat]
}]

type UserChatCommand

type UserChatCommand struct {
	cardinal.BaseCommand
	ArgusAuthID   string `json:"argus_auth_id"`
	ArgusAuthName string `json:"argus_auth_name"`
	Message       string `json:"message"`
}

func (UserChatCommand) Name

func (UserChatCommand) Name() string

type UserChatSystemState

type UserChatSystemState struct {
	cardinal.BaseSystemState
	UserChatCommands cardinal.WithCommand[UserChatCommand]
	UserChatEvent    cardinal.WithEvent[event.UserChat]
	ChatSearch       ChatSearch
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL