get-got / discord-downloader-go

A Discord bot program to download and otherwise handle files sent in Discord channels with extensive configuration. Can be used as a genuine Discord Bot or user account / self-bot
MIT License
277 stars 31 forks source link

Discord login failed: strconv.ParseInt: parsing "1675673635.468": invalid syntax #87

Closed Feriman22 closed 1 year ago

Feriman22 commented 1 year ago

Hey,

I have a very similar issue with the old version, I reproduced the same with this version. I used the wizard to fill required infos, but it stopped at the same point.

feriman@DESKTOP-1OG3P80:~$ ./discord-downloader-go_linux_amd64
2023/02/07 08:57:43 main.go:60: -------------------- Welcome to discord-downloader-go v1.6.8 --------------------
2023/02/07 08:57:43 main.go:61: [Version] go1.19.3 / discord-go v0.22.0 / Discord API v6
2023/02/07 08:57:43 main.go:75: [Info] ** Need help? Discord: https://discord.gg/6Z6FJZVaDV **
2023/02/07 08:57:43 config.go:367: [Settings] Loading from "settings.json"...
2023/02/07 08:57:43 main.go:83: [Settings] Loaded - bound to 1 channel and 0 servers
2023/02/07 08:57:43 main.go:91: [Database] Opening database...
2023/02/07 08:57:43 main.go:98: [Setup] Creating database, please wait...
2023/02/07 08:57:44 main.go:103: [Setup] Created new database...
2023/02/07 08:57:44 main.go:104: [Setup] Indexing database, please wait...
2023/02/07 08:57:46 main.go:117: [Setup] Created database indexes...
2023/02/07 08:57:46 main.go:121: [Database] Database opened, contains 0 entries...
2023/02/07 08:57:46 main.go:401: [Twitter] API credentials missing, the bot won't use the Twitter API.
2023/02/07 08:57:46 main.go:437: [Discord] Connecting via Login...
2023/02/07 08:57:47 main.go:455: [Discord] Discord login failed:        strconv.ParseInt: parsing "1675673635.468": invalid syntax
2023/02/07 08:57:47 common.go:38: [EXIT IN 15 SECONDS]  Uptime was 4 seconds 383 milliseconds 592 microseconds ...
2023/02/07 08:57:47 common.go:39: --------------------------------------------------------------------------------
feriman@DESKTOP-1OG3P80:~$

Could you please help me? Maybe something is wrong with my new Discord account (I use it without 2FA right now).

Thank you! Feriman

Feriman22 commented 1 year ago

It has been fixed in 2.0 BETA, so I close this.