From 8a3a9b06b52dca2972c53940bdc0389d51988d8e Mon Sep 17 00:00:00 2001 From: Sean Hinchee Date: Thu, 27 Jul 2017 11:46:10 -0500 Subject: [PATCH] clean up from 9 space --- DiscordState/session.go | 1 + README.md | 2 -- TODO | 1 + menu.go | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DiscordState/session.go b/DiscordState/session.go index 2cda5851d3fc7922e764b3c1ea217d9cb3aff1c3..c685c0f7a1eec68e8028dec1813a21de14495c5c 100644 --- a/DiscordState/session.go +++ b/DiscordState/session.go @@ -121,6 +121,7 @@ func (Session *Session) Update() error { return err } + // this doesn't seem to actually work. Session.Guilds = UserGuilds return nil } diff --git a/README.md b/README.md index c597a4d6dd654f4844836ce36474a9ed70497bb5..5d96f76a228bc5e968a253e570840e38afdab4b5 100644 --- a/README.md +++ b/README.md @@ -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?) diff --git a/TODO b/TODO index 22cf1b0253d005ea1849c207d7366f2636bd400e..0feea5d56de3d2460e577601354453a3ec297674 100644 --- a/TODO +++ b/TODO @@ -10,3 +10,4 @@ Features: * read $home/lib/discord.face for profile picture (or just face?) +* if ``` entered, allow multi-line message (composition) diff --git a/menu.go b/menu.go index f38bd6e67fc82d765e37e9c6c2c3fa94bdba0dcf..bdee2caba352f16011e70baa3d319855adf74f7e 100644 --- a/menu.go +++ b/menu.go @@ -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]