Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gsbot.go example is broken #99

Open
Nuc1eoN opened this issue Aug 19, 2019 · 1 comment
Open

gsbot.go example is broken #99

Nuc1eoN opened this issue Aug 19, 2019 · 1 comment

Comments

@Nuc1eoN
Copy link

Nuc1eoN commented Aug 19, 2019

Currently the example gsbot.go does not compile:

$ go build gsbot.go 
# command-line-arguments
./gsbot.go:34:3: too few values in &gsbot.LogOnDetails literal

This seems to have been caused by bc3a0ce

EDIT: I have just used named fields for now, but since I am not sure how exactly the TwoFactorCode is to be used (either TwoFactor or AuthCode or do we need both?) this should probably be fixed in a different way for the example file. Also the description comment above might need adjustment to reflect how it is supposed to be used.

@Philipp15b
Copy link
Owner

If I remember correctly, AuthCode is used for email verification, and TwoFactorCode is used for mobile authentication via the Steam mobile app. Pull requests are appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants