MCPcopy
hub / github.com/ayn2op/discordo / desc

Function desc

internal/config/keybinds.go:35–39  ·  view source on GitHub ↗

desc builds a Keybind with only a help description; keys come from config.toml.

(s string)

Source from the content-addressed store, hash-verified

33
34// desc builds a Keybind with only a help description; keys come from config.toml.
35func desc(s string) Keybind {
36 return Keybind{
37 Keybind: keybind.NewKeybind(keybind.WithHelp("", s)),
38 }
39}
40
41type ScrollKeybinds struct {
42 ScrollUp Keybind `toml:"scroll_up"`

Callers 6

defaultSelectionKeybindsFunction · 0.85
defaultPickerKeybindsFunction · 0.85
defaultComposerKeybindsFunction · 0.85
defaultKeybindsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected