This PR revolves around adding a new UI element containing a list of members of the current channel, along with a drop-down menu with commands when selecting a user.
The UserList is built similarly to the GuildsTree. Each user is a node with a UserID reference while commands are children (with the UserID referenced as a string, to be able to distinguish between a user and a command).
This opens up the possibility to add more user-related commands in the future. Currently, I have only implemented appending a mention to the current message based on the highlighted user.
I would like to keep this as a draft for now, as I'm still working out some issues here and there, but would like to know what you think / if you have any suggestions.
Hi!
This PR revolves around adding a new UI element containing a list of members of the current channel, along with a drop-down menu with commands when selecting a user.
The UserList is built similarly to the GuildsTree. Each user is a node with a UserID reference while commands are children (with the UserID referenced as a string, to be able to distinguish between a user and a command).
This opens up the possibility to add more user-related commands in the future. Currently, I have only implemented appending a mention to the current message based on the highlighted user.
I would like to keep this as a draft for now, as I'm still working out some issues here and there, but would like to know what you think / if you have any suggestions.
Preview:
Cheers!
Closes #129