discord

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: BSD-2-Clause Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const SendCommandOperation base.CommandOperation = "send"

Variables

This section is empty.

Functions

This section is empty.

Types

type SendCommand

type SendCommand struct {
	ChannelName discord.ChannelName `json:"channelName"`
	Message     discord.Message     `json:"message"`
}

func (SendCommand) Validate

func (s SendCommand) Validate(ctx context.Context) error

type SendCommandObjectSender

type SendCommandObjectSender interface {
	SendCommand(ctx context.Context, sendCommand SendCommand) error
}

func NewSendCommandObjectSender

func NewSendCommandObjectSender(
	commandCreator base.CommandCreator,
	commandSender cdb.CommandObjectSender,
	initiator cqrsiam.Initiator,
) SendCommandObjectSender

Jump to

Keyboard shortcuts

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