Commit graph

18 commits

Author SHA1 Message Date
rigormorrtiss
d3ce38b735 feat: implement desktop notifications (#42) 2021-09-09 21:34:47 +04:00
rigormorrtiss
ba336aebc5 feat(util): add UserAgent field to Config (#41)
* feat(util): add UserAgent to Config

* feat(util): add UserAgent field to Config
2021-09-09 19:59:13 +04:00
rigormorrtiss
4bd98d596d style: shorten long lines (>80 characters) 2021-08-31 13:03:12 +04:00
rigormorrtiss
56b4f74dff fix(util): return default config if os.UserHomeDir() returns err 2021-08-29 11:33:37 +04:00
rigormorrtiss
d7c0fbb303 refactor(util): omit type & use short-hand assignment 2021-08-29 11:27:57 +04:00
rigormorrtiss
a3e9fbd076 Pointerize Config.Theme 2021-08-23 12:40:28 +04:00
rigormorrtiss
e1a88777a7 Change Config.Theme type to tview.Theme 2021-08-23 08:21:46 +04:00
rigormorrtiss
f8b8b5a144 Switch to discordgo 2021-08-22 19:29:37 +04:00
rigormorrtiss
89818721c3 feat(util): add mouse field to config (#34)
* feat(util): add mouse field to config

* docs(util): update doc comment
2021-08-19 19:31:54 +04:00
rigormorrtiss
7b1cb548ac refactor: add comment for exported structs 2021-08-18 22:20:14 +04:00
rigormorrtiss
9bb8dce3d0 refactor: add comments for exported functions 2021-08-18 22:15:22 +04:00
rigormorrtiss
c22a64cc5d util: add theme.borders option to config (#32) 2021-08-18 21:02:21 +04:00
rigormorrtiss
4bf8085239 refactor(util): remove *{Background,Foreground} in favor of Background & Foreground 2021-08-18 19:48:32 +04:00
rigormorrtiss
1a2be50e14 feat: implement Threads (#25)
* main: refactor MESSAGe_CREATE event to separate function

* main: add thread channel as child to guild text channel

* main: write thread channel messages to messages TextView on select

* *: refactor to use for range loops

* main: write discord.Message.ReferencedMessage if message type is ThreadStarterMessage

* fix(util): write Message.Content if it is not an empty string

* refactor(util): remove WriteMessages

* refactor(main): defer-close websocket connection

* refactor(main): update api.UserAgent to latest

* refactor: use named return values

* fix: increase guilds TreeView fixedSize

* docs(README): update preview
2021-08-15 10:01:02 +04:00
rigormorrtiss
946e164564 Remove *Foreground configuration 2021-08-09 00:08:11 +04:00
rigormorrtiss
b74dcfed87 Remove default theme 2021-08-07 20:11:20 +04:00
rigormorrtiss
b552619b4e Rewrite to use Arikawa (#14) 2021-08-02 00:10:41 +04:00
rigormorrtiss
0667b37698 Add option for GET Channel Messages limit (#12) 2021-07-31 23:47:20 +04:00