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

Generalize !gamelist functionality to just !list #4

Closed spark-c closed 3 years ago

spark-c commented 3 years ago

We should be able to create a new list for anything we want, not just tabletop games, or even games at all.

Examples of Desired Behavior:

!list -createlist MyList -desc "A list made for testing"

!list MyList -a first_item;second_item;third_item

!list MyList -rm third_item

!list MyList
> first_item
> second_item

!list -createlist SecondList

!list -deletelist MyList

!list
> SecondList

Files affected:

-- I think the changes will only be made within cogs/Tabletop.py -- Tabletop cog should be renamed to reflect the cog's new purpose | --> Remember to update the very bottom lines of Tabletop.py where the cog is initialized to the bot

May want to implement a few regex patterns to properly recognize things like !list MyList -a "hello world";"foo bar"

spark-c commented 3 years ago

This issue has been resolved by the new Listkeeper cog implemented 07/14/2021.