Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MMadmer/EpicAssetsNotifyBot
/ functions
Functions
255 in github.com/MMadmer/EpicAssetsNotifyBot
⨍
Functions
255
◇
Types & classes
37
↓ 121 callers
Method
T
(key string, args map[string]any)
internal/i18n/localizer.go:58
↓ 69 callers
Method
respond
(runtime *Runtime, content string)
internal/discord/command_context.go:45
↓ 26 callers
Method
Close
()
internal/discord/runtime.go:32
↓ 19 callers
Method
markStateDirtyLocked
()
internal/discord/runtime.go:313
↓ 16 callers
Function
cloneGuildConfig
(cfg model.GuildConfig)
internal/discord/runtime.go:1431
↓ 16 callers
Method
requestFlush
()
internal/discord/runtime.go:271
↓ 15 callers
Method
isDM
(message *commandContext)
internal/discord/commands.go:745
↓ 15 callers
Method
localizerForMessage
(message *commandContext)
internal/discord/runtime.go:884
↓ 14 callers
Function
command
( name string, description string, contexts []discordgo.InteractionContextType, options []*discordgo.Appli
internal/discord/application_commands.go:121
↓ 12 callers
Method
isAdmin
(message *commandContext)
internal/discord/commands.go:757
↓ 10 callers
Method
formatTargetLabel
(cfg model.GuildConfig, localizer *i18n.Localizer)
internal/discord/runtime.go:1131
↓ 8 callers
Method
LocaleName
(locale string)
internal/i18n/localizer.go:93
↓ 7 callers
Function
formatInt
(v int64, spec string)
internal/i18n/localizer.go:308
↓ 7 callers
Method
guildConfigLocked
(guildID int64)
internal/discord/runtime.go:893
↓ 6 callers
Method
ForLocale
(locale string)
internal/i18n/localizer.go:66
↓ 6 callers
Method
NormalizeLocale
(locale string)
internal/i18n/localizer.go:101
↓ 6 callers
Function
boolToInt
(v bool)
internal/store/sqlite/store.go:542
↓ 6 callers
Function
cloneInt64Ptr
(value *int64)
internal/app/bootstrap.go:313
↓ 6 callers
Method
ensureGuildConfigLocked
(guildID int64)
internal/discord/runtime.go:897
↓ 6 callers
Method
flushDirty
(ctx context.Context)
internal/discord/runtime.go:278
↓ 6 callers
Method
formatBoolLabel
(value bool, localizer *i18n.Localizer)
internal/discord/runtime.go:1148
↓ 6 callers
Method
settingsLine
(value string, hint string)
internal/discord/runtime.go:1214
↓ 5 callers
Function
asInt64
(value any)
internal/model/normalize.go:259
↓ 5 callers
Function
cloneAssets
(input []model.Asset)
internal/discord/runtime.go:1396
↓ 5 callers
Function
cloneInt64Ptr
(value *int64)
internal/discord/runtime.go:1457
↓ 5 callers
Function
isContextDone
(err error)
internal/discord/runtime.go:1573
↓ 5 callers
Method
resetLocked
()
internal/fab/browser_source.go:202
↓ 5 callers
Method
sendCurrentAssetsToGuild
(ctx context.Context, guildID int64)
internal/discord/runtime.go:989
↓ 5 callers
Method
setGuildTarget
(cfg *model.GuildConfig, channelID, threadID *int64)
internal/discord/runtime.go:911
↓ 4 callers
Function
ParseFreeAssets
ParseFreeAssets extracts the Limited-Time Free section from a rendered HTML document.
internal/fab/scraper.go:221
↓ 4 callers
Method
availableLocalesLabel
()
internal/discord/runtime.go:1267
↓ 4 callers
Function
channelOption
( name string, description string, channelTypes []discordgo.ChannelType, )
internal/discord/application_commands.go:107
↓ 4 callers
Function
cloneStringPtr
(value *string)
internal/app/bootstrap.go:321
↓ 4 callers
Method
commandTargetChannel
(message *commandContext)
internal/discord/commands.go:749
↓ 4 callers
Function
currentTargetIDs
(channel *discordgo.Channel)
internal/discord/runtime.go:1590
↓ 4 callers
Function
equalInt64Ptr
(left, right *int64)
internal/discord/runtime.go:1465
↓ 4 callers
Function
readJSONFile
(path string, fallback any)
internal/config/config.go:138
↓ 4 callers
Method
resolveChannelObject
(channelID string)
internal/discord/runtime.go:789
↓ 4 callers
Method
sendAssetMessage
(channelID, content string, attachments []Attachment)
internal/discord/runtime.go:758
↓ 4 callers
Function
sleepContext
(ctx context.Context, d time.Duration)
internal/fab/scraper.go:208
↓ 4 callers
Method
targetChannelID
(cfg model.GuildConfig)
internal/discord/runtime.go:939
↓ 3 callers
Method
AvailableLocales
()
internal/i18n/localizer.go:85
↓ 3 callers
Method
Initialize
(ctx context.Context)
internal/discord/runtime.go:31
↓ 3 callers
Method
LoadLegacyChannelSubscriptions
(ctx context.Context)
internal/discord/runtime.go:34
↓ 3 callers
Method
LoadSnapshot
(ctx context.Context)
internal/discord/runtime.go:33
↓ 3 callers
Function
asBool
(value any)
internal/model/normalize.go:247
↓ 3 callers
Function
asBoolDefault
(value any, defaultValue bool)
internal/model/normalize.go:252
↓ 3 callers
Function
asInt64Ptr
(value any)
internal/model/normalize.go:280
↓ 3 callers
Method
backoffDuration
(attempt int)
internal/fab/scraper.go:201
↓ 3 callers
Method
catalogLocaleName
(locale string)
internal/i18n/localizer.go:208
↓ 3 callers
Function
cleanText
(input string)
internal/fab/scraper.go:370
↓ 3 callers
Method
composeDeliveryContent
(config model.GuildConfig, message string)
internal/discord/runtime.go:853
↓ 3 callers
Method
composeMessage
(assets []model.Asset, localizer *i18n.Localizer)
internal/discord/runtime.go:801
↓ 3 callers
Function
derefString
(value *string, fallback string)
internal/discord/runtime.go:1577
↓ 3 callers
Method
getAttachments
(ctx context.Context, assets []model.Asset)
internal/discord/runtime.go:625
↓ 3 callers
Function
isThreadChannel
(channelType discordgo.ChannelType)
internal/discord/runtime.go:1584
↓ 3 callers
Method
localizerForLocale
(locale string)
internal/discord/runtime.go:860
↓ 3 callers
Method
normalizeLocaleFromAny
(value any)
internal/model/normalize.go:202
↓ 3 callers
Function
nullInt64Ptr
(v sql.NullInt64)
internal/store/sqlite/store.go:534
↓ 3 callers
Method
userLocale
(userID int64)
internal/discord/runtime.go:874
↓ 2 callers
Method
DefaultLocale
()
internal/i18n/localizer.go:54
↓ 2 callers
Method
GetFreeAssets
(ctx context.Context)
internal/fab/types.go:35
↓ 2 callers
Function
Load
Load resolves all runtime settings relative to projectRoot.
internal/config/config.go:42
↓ 2 callers
Method
Locale
()
internal/i18n/localizer.go:50
↓ 2 callers
Method
MonthName
(month int, context string)
internal/i18n/localizer.go:62
↓ 2 callers
Function
New
New builds a localizer and preloads locale metadata once.
internal/i18n/localizer.go:27
↓ 2 callers
Function
NewBrowserSource
()
internal/fab/browser_source.go:37
↓ 2 callers
Function
NewScraper
(source HTMLSource)
internal/fab/scraper.go:82
↓ 2 callers
Function
ParseDeadlineInfo
ParseDeadlineInfo extracts the deadline info from a heading like the Python scraper.
internal/fab/deadline.go:38
↓ 2 callers
Method
Run
(ctx context.Context)
internal/discord/runtime.go:150
↓ 2 callers
Method
SaveSnapshot
(ctx context.Context, snapshot model.Snapshot)
internal/discord/runtime.go:35
↓ 2 callers
Function
assetIDSet
(assets []model.Asset)
internal/discord/runtime.go:1476
↓ 2 callers
Method
catalogFor
(locale string)
internal/i18n/localizer.go:201
↓ 2 callers
Function
cloneStringPtr
(value *string)
cmd/migrate_legacy/main.go:135
↓ 2 callers
Method
deadlineSignature
(deadline model.StoredDeadline)
internal/discord/runtime.go:1100
↓ 2 callers
Function
emptyToZero
(input string)
internal/fab/scraper.go:374
↓ 2 callers
Method
ensureUserProfileLocked
(userID int64)
internal/discord/runtime.go:925
↓ 2 callers
Method
guildLocale
(guildID int64)
internal/discord/runtime.go:864
↓ 2 callers
Method
handleSubscribe
(ctx context.Context, message *commandContext)
internal/discord/commands.go:61
↓ 2 callers
Method
handleUnsubscribe
(message *commandContext)
internal/discord/commands.go:122
↓ 2 callers
Function
insertAssets
(ctx context.Context, tx *sql.Tx, items []Asset)
internal/store/sqlite/store.go:462
↓ 2 callers
Function
insertUserProfiles
(ctx context.Context, tx *sql.Tx, items []UserProfile)
internal/store/sqlite/store.go:447
↓ 2 callers
Method
loadCatalog
(locale string, required bool)
internal/i18n/localizer.go:125
↓ 2 callers
Method
localeChoices
()
internal/discord/runtime.go:1290
↓ 2 callers
Method
lookup
(catalog map[string]any, key string)
internal/i18n/localizer.go:232
↓ 2 callers
Function
nonEmptyString
(value any)
internal/model/normalize.go:288
↓ 2 callers
Function
resolveBrowserOverride
()
internal/fab/browser_source.go:213
↓ 2 callers
Method
respondTemporary
(runtime *Runtime, content string)
internal/discord/command_context.go:104
↓ 2 callers
Function
stopTimer
(timer *time.Timer)
internal/discord/runtime.go:1561
↓ 2 callers
Function
storeDeadline
(ctx context.Context, tx *sql.Tx, deadline any)
internal/store/sqlite/store.go:481
↓ 2 callers
Function
stripTags
(input string)
internal/fab/scraper.go:366
↓ 2 callers
Function
subset
(left, right map[string]struct{})
internal/discord/runtime.go:1498
↓ 2 callers
Method
userProfileLocked
(userID int64)
internal/discord/runtime.go:921
↓ 2 callers
Method
validateGuildConfigForEnable
(config model.GuildConfig, localizer *i18n.Localizer)
internal/discord/commands.go:229
↓ 1 callers
Method
Fetch
(ctx context.Context)
internal/fab/scraper.go:31
↓ 1 callers
Method
ImportLegacySnapshotIfEmpty
(ctx context.Context, snapshot LegacySnapshot)
internal/store/sqlite/store.go:147
↓ 1 callers
Function
LoadLegacySnapshot
LoadLegacySnapshot reads the legacy JSON backups if they exist and normalizes them into the current runtime model.
internal/config/config.go:58
↓ 1 callers
Function
New
New creates a SQLite-backed store using the same runtime tables as the Python bot. The databaseURL accepts the Python-style sqlite+aiosqlite:///... fo
internal/store/sqlite/store.go:19
↓ 1 callers
Function
New
(projectRoot string)
internal/app/bootstrap.go:25
↓ 1 callers
Function
NewNormalizer
(baseLocale string, availableLocales map[string]string)
internal/model/normalize.go:14
next →
1–100 of 255, ranked by callers