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
a442103c89
fix(util): end text region with closing region tag
2021-09-01 13:35:32 +04:00
rigormorrtiss
102a45b66a
refactor: remove keyring utility
2021-08-31 14:18:04 +04:00
rigormorrtiss
4bd98d596d
style: shorten long lines (>80 characters)
2021-08-31 13:03:12 +04:00
rigormorrtiss
6e27a46404
feat(ui): enable regions for message selection
2021-08-31 10:33:36 +04:00
rigormorrtiss
7a3956b283
refactor(util): embed & remove parseReferencedMessage()
2021-08-30 23:03:50 +04:00
rigormorrtiss
88e27fa413
fix(util): directly pass code, ticket to data struct
2021-08-29 11:42:23 +04:00
rigormorrtiss
512db258d5
fix(util): return ref to loginResponse struct
2021-08-29 11:40:48 +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
c35f9519f3
refactor(util): reuse parseAuthor() in parseReferencedMessage()
2021-08-28 18:22:22 +04:00
rigormorrtiss
04b6ddc599
Hide non-permissible channels from channels TreeView ( #35 )
...
* Add discord.HasPermission()
* Exclude disallowed channels from TreeView
* Update README preview
2021-08-23 22:35:39 +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
5f8d6f1399
Switch to TreeView from List for guilds
2021-08-19 15:45:08 +04:00
rigormorrtiss
459167ab1e
main: sort channels with accordance to their levels
2021-08-19 13:36:24 +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
38a3bacdcc
feat(util): display GuildMemberJoinMessage message type to messages TextView ( #31 )
2021-08-18 16:15:35 +04:00
rigormorrtiss
d8c502440b
feat: switch to zalando/go-keyring from 99designs/keyring
2021-08-18 00:03:09 +04:00
rigormorrtiss
d0fb493eb9
perf(util): use .WriteString() instead of + concatenation
2021-08-16 22:30:12 +04:00
rigormorrtiss
2c40c996ac
fix(util): do not check if Message.Content is empty string
2021-08-15 12:43:05 +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
0ee43018c1
util: default keyring service name
2021-08-14 13:45:27 +04:00
rigormorrtiss
1f78c6dac8
util: parse message mentions
2021-08-12 23:04:46 +04:00
rigormorrtiss
c9dd1fcf02
main: integrate user guilds in TreeView ( #24 )
...
* main: integrate user guilds in TreeView
* assets: update README preview
2021-08-11 22:59:31 +04:00
rigormorrtiss
852e5bbd03
util: prefix attachment name to attachment url
2021-08-11 16:08:02 +04:00
rigormorrtiss
a262e933e2
chore: remove .gitignore
2021-08-10 00:28:55 +04:00
rigormorrtiss
946e164564
Remove *Foreground configuration
2021-08-09 00:08:11 +04:00
rigormorrtiss
ca562d0910
Mark bot users with "BOT" tag for referenced message
2021-08-08 00:19:23 +04:00
rigormorrtiss
a544c05bfe
Ignore message content from color and region tags
2021-08-07 23:11:42 +04:00
rigormorrtiss
8539dc1416
Reset foreground only
2021-08-07 21:00:26 +04:00
rigormorrtiss
b74dcfed87
Remove default theme
2021-08-07 20:11:20 +04:00
rigormorrtiss
91280265f2
Remove bold color flag from author name
2021-08-07 19:56:32 +04:00
rigormorrtiss
9ba95dfd2e
refactor(util): remove redundant color tag
2021-08-07 19:11:50 +04:00
rigormorrtiss
0bee19a27c
refactor(util): merge linebreak with .WriteString()
2021-08-07 18:34:04 +04:00
rigormorrtiss
3df9adabb3
feat(util): parse referenced messages ( #19 )
2021-08-07 17:56:52 +04:00
rigormorrtiss
51b5cd1834
refactor: rename variables to comply with 'effective go'
2021-08-07 14:53:38 +04:00
rigormorrtiss
3659ee6e30
refactor(util): rename variables to comply with 'effective go'
2021-08-07 14:51:13 +04:00
rigormorrtiss
c85c15ec90
refactor(util): remove unused imports
2021-08-07 14:50:11 +04:00
rigormorrtiss
a75649e509
refactor(util): rename content to parsedMsg
2021-08-04 19:38:43 +04:00
rigormorrtiss
b94301632f
feat(util): switch to 99designs/keyring for more backends ( #18 )
...
* build: add 99designs/keyring as dep
* feat(util): switch to 99designs/keyring for more backends
2021-08-04 08:53:17 +04:00
rigormorrtiss
9bc0b94da3
Upgrade Arikawa to v3 ( #15 )
2021-08-02 20:07:50 +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