spark-c / SparksieBOT

A Discord bot that provides upkeep, utility, and some fun commands for my personal discord server.
1 stars 0 forks source link

Listkeeper: Update -- BUTTONS! (Prev: Add indexes to lists and items, and allow removing, etc. by index.) #9

Open spark-c opened 3 years ago

spark-c commented 3 years ago

UPDATE

With the new addition of Discord "Buttons", perhaps use those instead of indexes!!

I can imagine several ways of implementing them, some experimentation will be needed.

Docs here for reference.


It is a hassle to work with lists and items that have long names. It would be VERY nice if lists and items had index numbers that we could use to refer to them instead of having to type out their long names.

I'm almost certain that users would more readily use indexes, so they should probably be the default usage. Perhaps !rm by name would merit adding another flag !rmitem -n/-name "This item has several words".

Example:

Test List With A Long Name A description for this verbosely-named list.

Before

!rmitem "There are a handful of extra words in this item"

After

!rmitem 2