Security fix: resolveDiscordRefs now takes a guildID parameter and skips message links pointing to a different guild, preventing the bot from leaking content across guilds. Also uses s.State.Channel() cache before falling back to API calls to reduce Discord API usage and rate limit risk. |
||
|---|---|---|
| .. | ||
| discord.go | ||
| discord_test.go | ||
| init.go | ||