~kris/9p

disco

ref: 1f273b8ee7d44d4aaffa382444ccc1c58a77f8ec disco/README.md -rw-r--r-- 1.7 KiB
1f273b8e — Sean Hinchee partially fix pm's ;; fix @'s ;; fix emoji printing ;; add :u ;; 7 years ago

#disco: Discord client for 9front

Fork of theboxmage's discord-cli

JSON config is in $home/lib/disco.cfg for setting password, should be made automatically after first run.

#Install

go get github.com/bwmarrin/discordgo
go get github.com/gorilla/websocket
go get golang.org/x/crypto
go get bitbucket.org/henesy/disco

#Problems

  • JSON

  • PM's are temporarily disabled

  • Does not create accounts for you, this still needs to be done in a browser/app

  • Does not support 2FA (Discord API explicitly does not allow this)

#Commands

Commands available in chat:

Command Function
:q Quits disco
:g Change listening Guild
:c Change listening Channel inside Guild
:m [n] Display last [n] messages: ex. :m 2 displays last two messages
:p Pulls up the private channel menu

#Notes

If you can connect to a channel and see messages, but yours aren't sending, check to make sure your e-mail address is verified.

#FAQ

Q: What if go get doesn't work?

A: If you want to use go get on 9front to install disco and its dependencies (recommended) you should use driusan's dgit as git.

Q: What if I can't login because of a captcha error?

A: You'll need to sign in to Discord via the web app (thus solving a captcha) using a browser with html5/js. I recommend an http proxy such as this.

Q: What if I get an error about signing in from a new location?

A: Discord has sent you an e-mail with a location confirmation link, click it, no js should be required.