chr233 / ASFEnhance

ASF 扩展命令插件 / External commands for ASF
GNU Affero General Public License v3.0
476 stars 41 forks source link

REGISTEDATE invalid output #284

Open iBreakEverything opened 1 week ago

iBreakEverything commented 1 week ago

Bug: REGISTEDATE invalid output for accounts that don't have the 1 year badge on steam (https://steamcommunity.com/my/badges/1). This will display the info from some other badge

>> Enter command: REGISTEDATE ASF
<> Executing...
<bot> 25 of 28 tasks completed. Complete 2 more Steam Community tasks to earn the Level 3 badge.

Consider using the dedicated API for it https://developer.valvesoftware.com/wiki/Steam_Web_API#GetPlayerSummaries_(v0002) and extract the data from .response.players[0].timecreated. You will get a UNIX timestamp with the exact date and time.

chr233 commented 1 week ago

thank you

chr233 commented 6 days ago

seems that api requires api key, use access_token is not allowed.