Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Feature request/Discussion: have all the commands follow a format #59

Open
vanessayuenn opened this issue Oct 20, 2017 · 7 comments
Open

Comments

@vanessayuenn
Copy link
Contributor

I propose the following format to standardize all currently available commands:

/command param1 param2 ... paramN

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.

@aeonofdiscord
Copy link
Contributor

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.

@lsjroberts
Copy link
Contributor

Would also mean you could hotkey it to /, so you can enter a command without having to click in the box.

@webdesserts
Copy link
Collaborator

webdesserts commented Oct 21, 2017

I would like to see a consistent command pattern as well. Here is what I recommend based on the current set of commands:

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

Message Symbols

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...

  • mention@neauoire
  • quote@neauoire:37
  • channel#rotonde
  • mediafile://corgi-butt.gif where corgi-butt.gif is located under /media
  • linkdat://rotonde.hashbase.io or https://rotonde.hashbase.io

Feedback is welcome.

@aeonofdiscord
Copy link
Contributor

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?

@eelfroth
Copy link
Contributor

I happen to like the commands as they are. how about a configuration json that lets us define custom keybindings and command-aliases?

@webdesserts
Copy link
Collaborator

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.

@neauoire
Copy link
Contributor

neauoire commented Nov 3, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants