Closed szentigrad3 closed 4 years ago
go build
command, it will be fine with regular permissions.what version do i need?
1.12+
1.14 will do the thing.
got 1.14 installed now getting this error > # _/home/noidea/FactoCord-3/discord discord/log.go:97:12: message.TTS undefined (type *discordgo.MessageSend has no field or method TTS, but does have Tts)
install discordgo 0.21+
you can install prebuilt binary from releases page
i did run go get github.com/bwmarrin/discordgo
for some reason it installed previous version
2020-07-09 20:33:24.558521902 +1000 AEST m=+0.000602856, _/home/TechoStrife/FactoCord-3.0/support.Critical @ /home/TechoStrife/FactoCord-3.0/support/error.go:74 An error occurred when parsing config.json: invalid character ']' looking for beginning of value
https://github.com/maxsupermanhd/FactoCord-3.0/blob/server/INSTALL.md#step-0 The last sentence.
There's an explicit message in the console: "Note that json5 may have several bugs, such as comment before ] or }"
i have done that same error
Welcome to FactoCord-3.0! Note that json5 may have several bugs, such as comment before ] or } An error occurred when parsing config.json You can post your issue on https://github.com/maxsupermanhd/FactoCord-3.0/issues
??
Don't you understand that you should remove comments before ]
or }
?
Also admin_ids is an array for a reason.
Thx for the token btw
noidea@exothermic:~/FactoCord-3$ sudo go build
_/home/noidea/FactoCord-3
./main.go:51:80: Factorio.ProcessState.ExitCode undefined (type *os.ProcessState has no field or method ExitCode)