Skip to main content

Built and signed on GitHub Actions

a typescript-based chatbot that supports bridging multiple platforms via plugins

This package works with Deno
JSR Score
100%
Published
a month ago (0.7.0)

default

lightning is a typescript-based chatbot that supports bridging multiple chat apps via plugins.

I
attachment

attachments within a message

I
bridge_channel

channel within a bridge

I
bridge_document

the representation of a bridge

I
bridge_message

bridged messages

I
command

commands are a way for users to interact with the bot

I
command_arguments

arguments passed to a command

I
command_options

options when parsing a command

I
config

configuration options for lightning

f
create_message

creates a message that can be sent using lightning

I
create_plugin

the way to make a plugin

I
deleted_message

a representation of a message that has been deleted

I
embed

a discord-style embed

I
err

the error returned from log_error

f
get_migrations

get migrations that can then be applied using apply_migrations

c
lightning

an instance of lightning

f
log_error

logs an error and returns a unique id and a message for users

I
media

media inside of an embed

I
message

a message recieved by a plugin

I
migration

the type of a migration

f
mongo_to_redis

convert a mognodb document from 0.5 to redis for 0.7

c
plugin

a plugin for lightning

T
plugin_events

the events emitted by a plugin

E
versions

all of the versions with migrations to/from them