Open vanessayuenn opened 7 years ago
Yeah, at the rate new commands are being added I think it makes sense to namespace them so people don't trip over them by accident.
Would also mean you could hotkey it to /
, so you can enter a command without having to click in the box.
I would like to see a consistent command pattern as well. Here is what I recommend based on the current set of commands:
/follow <$url>
/unfollow <$url>
/filter <$user>
/filter clear
/edit <$field> <$value>
/edit <$entry> <$message>
/delete <$field>
/delete <$entry>
/whisper <$user> <$message>
/quote <$user> <$entry> [$message]
/help
I think one thing that will help keep these commands simple (and possibly reduce the number of commands) is to make sure that pretty much anything that can be attached to a message has a corresponding symbol. This includes mentions, quotes, media, links, etc.. etc...
@neauoire
@neauoire:37
#rotonde
file://corgi-butt.gif
where corgi-butt.gif
is located under /media
dat://rotonde.hashbase.io
or https://rotonde.hashbase.io
Feedback is welcome.
Not totally sure about using file://
for media, since it looks like a valid URL but isn't one. The current setup uses >>
(signifying "attachment", I guess) so maybe that or something close to it?
I happen to like the commands as they are. how about a configuration json that lets us define custom keybindings and command-aliases?
Not totally sure about using file:// for media, since it looks like a valid URL but isn't one. The current setup uses >> (signifying "attachment", I guess) so maybe that or something close to it?
@aeonofdiscord Yeah, I see your point about the url issue. I have some more thoughts on all of this that I'm going to mull over. I think a lot of this depends on who we're catering to and what we want the final interface to look like.
The idea here is that media would be wrapped in {%path.jpg%}
to follow {*bold*}
and {_italic_}
. I never got around to implement it tho.
I propose the following format to standardize all currently available commands:
So it will be less confusing for end users, and easier for future development. We can then also implement the autocomplete for commands like we have for @ mentions.