forget

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoUserID = errors.NewSentinel("forget.no_user_id", "forget: no user ID was given")

ErrNoUserID is returned when neither the argument nor standard input gave a user ID.

Functions

func NewCmdForget

func NewCmdForget(props *props.Props) *setup.Command

func RunForget

func RunForget(ctx context.Context, p *props.Props, opts *ForgetOptions, args []string) error

RunForget disconnects one person from everything the bot holds about them, or shows what that would change, or lists it (spec 0032). Nothing it writes names the person (D5).

Types

type ForgetOptions

type ForgetOptions struct {
	Yes  bool
	Show bool
}

Jump to

Keyboard shortcuts

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