v0.3
Some checks failed
Build and Push to Docker Hub on changes to master branch / docker (push) Has been cancelled

- added start command
- added info command
This commit is contained in:
Noah 2024-12-21 08:28:28 +01:00
parent 9c64a3e4b5
commit 453f03d832
5 changed files with 98 additions and 7 deletions

View file

@ -1,12 +1,13 @@
package steam
import (
"watn3y/steamsalty/config"
"github.com/Philipp15b/go-steamapi"
"github.com/rs/zerolog/log"
"watn3y/steamsalty/config"
)
func getPlayerDetails(steamID uint64) (summary steamapi.PlayerSummary) {
func GetPlayerDetails(steamID uint64) (summary steamapi.PlayerSummary) {
response, err := steamapi.GetPlayerSummaries([]uint64{steamID}, config.BotConfig.SteamAPIKey)
if err != nil {