6 Commits
Author SHA1 Message Date
Casper Weiss Bang 023f22a1ea More User Info
Added:
- `/inspect` (`/id`)
- `/follow`
- `/unfollow`
2019-12-01 20:42:59 +01:00
Casper Weiss Bang bc7ef238de minor formatting fixes 2019-11-28 20:24:09 +01:00
Casper Weiss Bang 1d95fea9f3 Revised some styling elements
- Colored block codes in a whole block
- Colored quotes
- Fixed a few bugs
2019-11-13 17:47:45 +01:00
Casper Weiss Bang 439f09aa1c Mo' colors
Changes:
- Stream is colored now
- Stream is formatted
- Stream has it's own formatting option
- Colors are now a style, and is a struct
- Color struct has a pretty cool functional interface
- colored mentions and PMs
- Every message uses the same function (it's dry!!)
- Colorize errors!
- Create function for visualizing errors
- colorized some of the command output!
- Color is stored in a Style
- Create a Text struct that can use to stylize strings "easily"
- Text can be used to build strings
- color highlighting on code
- added tml config support
- added different color for mention url
- Added sprintf to use formatting with PrintFeed and PrintError

Known Bugs: (added as todos whereever)
- Cannot use multiple formatting at the same time (*bold _italic_*
doesn't work
- sprintf is pretty shit
- background doesn't cover as a `block` in codeblocks
- not possible to escape sprintf thing
2019-10-23 23:45:42 +02:00
Casper Weiss Bang d536cbd6cd Fixed bugs regarding the join command
Changes:
- made it possible join with @ and # prepended as well
- Also made it possible if it's written in a singular string ie `@team#channel`
   - also made this work with auto complete
- doesn't bug out if you do `/j @person` (with a space at the end) (which it
previously thought was a team + channel, with empty channel name
2019-10-15 11:21:08 +02:00
Casper Weiss Bang 76511afc4f Added colors & minor bugfix
- Created new file colors.go
- Added color options to the UserConfig
- Possible to disable colors (in UserConfig)
- Fixed a bug where the login screen says `/j` and not `{cmdChar}j`
- Changed how attachments look - so it's clear it isn't just a message
saying that
- Changed how formatOutput works (to be more DRY)
- Colored unread messages
Changes to be committed:
	new file:   colors.go
	modified:   main.go
	modified:   userConfigs.go
2019-10-13 17:41:10 +02:00