Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ayn2op/discordo
/ functions
Functions
309 in github.com/ayn2op/discordo
⨍
Functions
309
◇
Types & classes
89
↓ 2 callers
Method
selectCurrentKeybind
()
internal/ui/chat/guilds_tree.go:429
↓ 2 callers
Function
setToken
(token string)
internal/ui/root/msg.go:32
↓ 2 callers
Method
showLogin
()
internal/ui/root/model.go:56
↓ 2 callers
Method
stopTypingTimer
()
internal/ui/chat/composer.go:161
↓ 2 callers
Method
tabComplete
()
internal/ui/chat/composer.go:448
↓ 2 callers
Method
tabSuggest
()
internal/ui/chat/composer.go:498
↓ 2 callers
Method
updateHelpHeight
()
internal/ui/root/model.go:138
↓ 2 callers
Function
urlsFromAST
urlsFromAST collects link destinations from an already-parsed markdown AST. src must be the byte slice the node was parsed from (AutoLink resolves its
internal/ui/chat/messages_list.go:1106
↓ 1 callers
Method
CreateEditorCommand
(path string)
internal/config/editor_unix.go:9
↓ 1 callers
Function
DefaultPath
()
internal/logger/logger.go:15
↓ 1 callers
Method
FullHelp
()
internal/ui/root/keybinds.go:23
↓ 1 callers
Method
HasFocus
()
internal/ui/root/model.go:160
↓ 1 callers
Function
IdentifyProperties
()
internal/http/properties.go:48
↓ 1 callers
Method
Invalidate
Invalidate is only needed when a member leaves and the search query reaches the search limit. "aa", "ab", "ac", ..., "ay" // where length is longer th
internal/cache/cache.go:35
↓ 1 callers
Function
Load
Load opens the log file and configures default logger.
internal/logger/logger.go:20
↓ 1 callers
Function
NewCache
()
internal/cache/cache.go:12
↓ 1 callers
Function
NewModel
(app *tview.Application, cfg *config.Config, token string)
internal/ui/chat/model.go:69
↓ 1 callers
Function
NewModel
(cfg *config.Config, app *tview.Application)
internal/ui/root/model.go:30
↓ 1 callers
Function
NewModel
(cfg *config.Config)
internal/ui/login/model.go:30
↓ 1 callers
Function
NewModel
()
internal/ui/login/qr/model.go:27
↓ 1 callers
Function
NewModel
()
internal/ui/login/token/model.go:12
↓ 1 callers
Function
NewRenderer
(cfg *config.Config)
internal/markdown/renderer.go:26
↓ 1 callers
Function
NewTransport
()
internal/http/transport.go:15
↓ 1 callers
Function
Notify
(state *ningen.State, message gateway.MessageCreateEvent, cfg *config.Config)
internal/notifications/notifications.go:18
↓ 1 callers
Method
RenderLines
(source []byte, node ast.Node, base tcell.Style)
internal/markdown/renderer.go:30
↓ 1 callers
Function
Run
()
cmd/root.go:16
↓ 1 callers
Method
SetRect
(x int, y int, width int, height int)
internal/ui/root/model.go:150
↓ 1 callers
Method
SetSelectedChannel
(channel *discord.Channel)
internal/ui/chat/model.go:115
↓ 1 callers
Function
SortGuildChannels
(channels []discord.Channel)
internal/ui/util.go:114
↓ 1 callers
Method
Update
(msg tview.Msg)
internal/ui/chat/composer.go:170
↓ 1 callers
Function
XSuperProperties
()
internal/http/properties.go:54
↓ 1 callers
Method
addMessage
(message discord.Message)
internal/ui/chat/messages_list.go:141
↓ 1 callers
Method
addTyper
(userID discord.UserID)
internal/ui/chat/model.go:394
↓ 1 callers
Function
applyChromaStyle
(base tcell.Style, entry chroma.StyleEntry)
internal/markdown/renderer.go:211
↓ 1 callers
Function
applyInlineAttr
(style tcell.Style, attr discordmd.Attribute, inLink bool)
internal/markdown/renderer.go:266
↓ 1 callers
Method
baseFullHelp
()
internal/ui/chat/keybinds.go:55
↓ 1 callers
Method
baseShortHelp
()
internal/ui/chat/keybinds.go:45
↓ 1 callers
Method
buildSeparatorItem
(ts discord.Timestamp)
internal/ui/chat/messages_list.go:205
↓ 1 callers
Method
canCollapseAll
()
internal/ui/chat/guilds_tree.go:498
↓ 1 callers
Method
centerLines
(lines []tview.Line)
internal/ui/login/qr/model.go:151
↓ 1 callers
Method
clearTypers
()
internal/ui/chat/model.go:384
↓ 1 callers
Method
collapseKeybinds
()
internal/ui/chat/guilds_tree.go:472
↓ 1 callers
Method
collapseParentNode
(node *tree.Node)
internal/ui/chat/guilds_tree.go:319
↓ 1 callers
Method
confirmDelete
()
internal/ui/chat/messages_list.go:1287
↓ 1 callers
Method
connect
()
internal/ui/login/qr/msg.go:39
↓ 1 callers
Method
createChannelNodes
(node *tree.Node, channels []discord.Channel)
internal/ui/chat/guilds_tree.go:190
↓ 1 callers
Method
createFolderNode
(folder gateway.GuildFolder, guildsByID map[discord.GuildID]*gateway.GuildCreateEvent)
internal/ui/chat/guilds_tree.go:77
↓ 1 callers
Function
cursorAfterDelete
(prevCursor, deletedIndex, remaining int)
internal/ui/chat/state.go:156
↓ 1 callers
Method
decryptUserPayload
(encryptedPayload string)
internal/ui/login/qr/msg.go:257
↓ 1 callers
Function
defaultComposerKeybinds
()
internal/config/keybinds.go:181
↓ 1 callers
Function
defaultGuildsTreeKeybinds
()
internal/config/keybinds.go:146
↓ 1 callers
Function
defaultKeybinds
()
internal/config/keybinds.go:200
↓ 1 callers
Function
defaultMentionsListKeybinds
()
internal/config/keybinds.go:194
↓ 1 callers
Function
defaultMessagesListKeybinds
()
internal/config/keybinds.go:158
↓ 1 callers
Function
defaultPickerKeybinds
()
internal/config/keybinds.go:138
↓ 1 callers
Method
deleteMessage
(index int)
internal/ui/chat/messages_list.go:158
↓ 1 callers
Function
deleteToken
()
internal/ui/root/msg.go:42
↓ 1 callers
Method
drawDateSeparator
(builder *tview.LineBuilder, ts discord.Timestamp, baseStyle tcell.Style)
internal/ui/chat/messages_list.go:215
↓ 1 callers
Method
drawEmbeds
(builder *tview.LineBuilder, message discord.Message, baseStyle tcell.Style, contentRoot ast.Node, contentSour
internal/ui/chat/messages_list.go:508
↓ 1 callers
Method
drawForwardedMessage
(builder *tview.LineBuilder, message discord.Message, baseStyle tcell.Style)
internal/ui/chat/messages_list.go:811
↓ 1 callers
Method
drawPinnedMessage
(builder *tview.LineBuilder, message discord.Message, baseStyle tcell.Style)
internal/ui/chat/messages_list.go:838
↓ 1 callers
Method
drawReplyMessage
(builder *tview.LineBuilder, message discord.Message, baseStyle tcell.Style)
internal/ui/chat/messages_list.go:820
↓ 1 callers
Method
drawSnapshotContent
(builder *tview.LineBuilder, parent discord.Message, snapshot discord.MessageSnapshotMessage, baseStyle tcell.
internal/ui/chat/messages_list.go:462
↓ 1 callers
Method
editSelectedMessage
()
internal/ui/chat/messages_list.go:1270
↓ 1 callers
Method
editor
()
internal/ui/chat/composer.go:756
↓ 1 callers
Function
embedLineStyles
(baseStyle tcell.Style, theme config.MessagesListEmbedsTheme)
internal/ui/chat/messages_list.go:675
↓ 1 callers
Function
embedLines
(embed discord.Embed, contentURLs map[string]struct{})
internal/ui/chat/messages_list.go:693
↓ 1 callers
Method
exchangeTicket
(ticket string)
internal/ui/login/qr/msg.go:278
↓ 1 callers
Method
expandPathToNode
(node *tree.Node)
internal/ui/chat/guilds_tree.go:418
↓ 1 callers
Function
extractEmbedURLs
(embeds []discord.Embed)
internal/ui/chat/messages_list.go:1123
↓ 1 callers
Function
fetchBuildNumber
()
internal/http/generator.go:25
↓ 1 callers
Method
fetchOlderMessages
()
internal/ui/chat/messages_list.go:1000
↓ 1 callers
Method
findNodeByChannelID
(channelID discord.ChannelID)
internal/ui/chat/guilds_tree.go:395
↓ 1 callers
Method
focusNext
()
internal/ui/chat/model.go:229
↓ 1 callers
Method
focusPrevious
()
internal/ui/chat/model.go:207
↓ 1 callers
Function
generateLaunchSignature
()
internal/http/properties.go:62
↓ 1 callers
Method
generatePrivateKey
()
internal/ui/login/qr/msg.go:181
↓ 1 callers
Method
generateQRCode
(fingerprint string)
internal/ui/login/qr/msg.go:240
↓ 1 callers
Function
getCachedProfileImage
(avatarHash discord.Hash, url string)
internal/notifications/notifications.go:76
↓ 1 callers
Function
getToken
()
internal/ui/root/msg.go:21
↓ 1 callers
Function
graphemeClusterWidth
(boundaries int)
internal/ui/chat/messages_list.go:642
↓ 1 callers
Function
halfBlock
halfBlock packs a vertical pair of QR pixels into one glyph, fitting two bitmap rows into a single terminal row.
internal/ui/login/qr/model.go:113
↓ 1 callers
Function
humanJoin
(items []string)
internal/ui/chat/util.go:44
↓ 1 callers
Function
initClipboard
()
internal/ui/root/msg.go:52
↓ 1 callers
Function
isMarkdownEscapable
(c byte)
internal/ui/chat/messages_list.go:802
↓ 1 callers
Function
isThread
(t discord.ChannelType)
internal/ui/chat/guilds_tree.go:230
↓ 1 callers
Function
lineWithURL
(line tview.Line, rawURL string)
internal/ui/chat/messages_list.go:646
↓ 1 callers
Function
linkDisplayText
(raw string)
internal/ui/chat/messages_list.go:768
↓ 1 callers
Method
loadChannel
(channel discord.Channel)
internal/ui/chat/guilds_tree.go:301
↓ 1 callers
Method
logout
()
internal/ui/chat/msg.go:51
↓ 1 callers
Method
maxDisplayWidth
()
internal/ui/chat/mentions_list.go:91
↓ 1 callers
Function
mentionText
(node *discordmd.Mention)
internal/markdown/renderer.go:249
↓ 1 callers
Method
messageToRowIndex
(messageIndex int)
internal/ui/chat/messages_list.go:300
↓ 1 callers
Method
nearestMessageRowIndex
nearestMessageRowIndex expects rowIndex to be within bounds.
internal/ui/chat/messages_list.go:326
↓ 1 callers
Function
newAttachmentsPicker
(cfg *config.Config, chat *Model)
internal/ui/chat/attachments_picker.go:25
↓ 1 callers
Function
newChannelsPicker
(cfg *config.Config, chat *Model)
internal/ui/chat/channels_picker.go:24
↓ 1 callers
Function
newComposer
(cfg *config.Config, chat *Model)
internal/ui/chat/composer.go:64
↓ 1 callers
Function
newGuildsTree
(cfg *config.Config, chat *Model)
internal/ui/chat/guilds_tree.go:36
↓ 1 callers
Function
newMentionsList
(cfg *config.Config)
internal/ui/chat/mentions_list.go:23
↓ 1 callers
Function
newMessagesList
(cfg *config.Config, chat *Model)
internal/ui/chat/messages_list.go:82
← previous
next →
101–200 of 309, ranked by callers