You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auth storage: Bot and user identity are now stored separately in keyring and auth.yml. Previously, StoreUserInfo was called for both token types, so whichever was stored last would overwrite the other — causing self-DM detection and ResolveUserID() to return the wrong identity.
Self-DM detection: Now uses client.AuthUserID() (live auth.test call) instead of reading stored user info, making it reliable regardless of storage state.
ResolveUserID: Only uses the user token now (not bot token), since bot token returns the bot's identity, not the human's.
Internal
New keyring keys: bot_user_id, bot_user_name for bot identity
New auth.yml fields: bot_user_id, bot_user_name
StoreBotUserInfo() / GetBotUserInfo() functions
Login and app create flows now store bot vs user info to the correct keys