rpc_messages

package
v0.0.0-...-84f1622 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseGuildUserInfo

type BaseGuildUserInfo struct {
	OwnerID   string                              `json:"owner_id"`
	Name      string                              `json:"name"`
	Icon      *string                             `json:"icon"`
	Roles     []types.SerenityRole                `json:"roles"`
	UserRoles []string                            `json:"user_roles"`
	BotRoles  []string                            `json:"bot_roles"`
	Channels  []types.GuildChannelWithPermissions `json:"channels"`
}

type DispatchResult

type DispatchResult struct {
	Type string `json:"type" description:"The type of the dispatch result [Ok or Err]"`
	Data any    `json:"data" description:"The data of the dispatch result"`
}

type SandwichBaseRestResponse

type SandwichBaseRestResponse[T any] struct {
	Data  *T     `json:"data,omitempty"`
	Error string `json:"error,omitempty"`
	Ok    bool   `json:"ok"`
}

type SettingsOperationRequest

type SettingsOperationRequest struct {
	Fields  any    `json:"fields"`
	Op      string `json:"op"`
	Setting string `json:"setting"`
}

type TWState

type TWState struct {
	Commands []discordgo.ApplicationCommand `json:"commands"`
}

Jump to

Keyboard shortcuts

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