~kris/9p

disco

8a3a9b06b52dca2972c53940bdc0389d51988d8e — Sean Hinchee 9 years ago fd54ded
clean up from 9 space
4 files changed, 3 insertions(+), 3 deletions(-)

M DiscordState/session.go
M README.md
M TODO
M menu.go
M DiscordState/session.go => DiscordState/session.go +1 -0
@@ 121,6 121,7 @@ func (Session *Session) Update() error {
		return err
	}

	// this doesn't seem to actually work.
	Session.Guilds = UserGuilds
	return nil
}

M README.md => README.md +0 -2
@@ 20,8 20,6 @@ JSON config is in `$home/lib/disco.cfg` for setting password, should be made aut

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

* Cutting and pasting text might break things

* ~~:g switching guilds crashes the client~~ Add private channel switch later

* You have to verify your e-mail regularly (i guess?)

M TODO => TODO +1 -0
@@ 10,3 10,4 @@ Features:

* read $home/lib/discord.face for profile picture (or just face?)

* if ``` entered, allow multi-line message (composition)

M menu.go => menu.go +1 -1
@@ 238,7 238,7 @@ Start:
			Msg(ErrorMsg, "Invalid Invite\n")
			goto New
		}
		Msg(TextMsg, "Join %s ? [y/n]:\n", Invite.Guild.Name)
		Msg(TextMsg, "Join %s ? [y/n]: ", Invite.Guild.Name)
		reader := bufio.NewReader(os.Stdin)
		response, _ := reader.ReadString('\n')
		response = response[:len(response)-1]