Closed PaulGWebster closed 2 years ago
I am using the following permissions:
Ok I did the auth step again and gave it: permissions=1644906413303 which is in effect everything but administrator, now I get:
INFO[0000] Loading configuration... ConfigName=config ConfigPath=. ConfigType=yml
WARN[0000] webirc_pass is empty
INFO[0000] Cooldown duration for IRC puppets is 24h0m0s
FATA[0000] Go-Discord-IRC failed to start. error="can't open discord: discord, could not open session: websocket: close 4014: Disallowed intent(s)."
ah ha I got it, I needed to enable:
... though now: $ ./go-discord-irc --config config.yml INFO[0000] Loading configuration... ConfigName=config ConfigPath=. ConfigType=yml WARN[0000] webirc_pass is empty INFO[0000] Cooldown duration for IRC puppets is 24h0m0s 2022/01/15 17:16:22 Connected to irc.libera.chat:6697 (64.86.243.186:6697) INFO[0002] Go-Discord-IRC is now running. Press Ctrl-C to exit. INFO[0009] Listener has joined IRC channel ##daemon. panic: state cache not found
goroutine 18 [running]: github.com/qaisjp/go-discord-irc/bridge.(discordBot).GetAvatar(0xc000203410, 0xc000210180, 0x12, 0xc0001f80c1, 0x6, 0xc00020c900, 0x8) /home/paul.webster/Personal/go-discord-irc/bridge/discord.go:418 +0x347 github.com/qaisjp/go-discord-irc/bridge.(Bridge).loop(0xc0002807e0) /home/paul.webster/Personal/go-discord-irc/bridge/bridge.go:385 +0x84e created by github.com/qaisjp/go-discord-irc/bridge.New /home/paul.webster/Personal/go-discord-irc/bridge/bridge.go:260 +0x318
Got it, needed to enable all intents
I am certain I have the correct discord_token guild_id and effective channel mapping, I did the buil a bot step and copied from
The correct place .... indeed not sure what the trouble is or what I got wrong!