[Category1]
line1
line2
line3
[Category2]
line1
line2
line3
When a user types !categories
The bot will display all the existing [Category] that exists in a text file (the text file name is "scripts/Categories.txt") to the user
After displaying the categories, or even before (if a user knows what the categories are without asking for displaying them), the user can pick a category via !search Category1 and the bot will display to him all the lines in that category.
Example:
Categories.txt format is as following:
[Fruits]
Apple
Banana
Orange
[Movies]
Matrix
Kill Bill
Fast and Furious
[Music]
Oasis
Metallica
Aerosmith
* In addition, a !randCategory function that will display 1 random line from 1 random category, would be brilliant as-well.<User> !categories
<Bot> Fruits, Movies, Music.
<User> !Category Fruits
<Bot> Apple
<Bot> Banana
<Bot> Orange
<User> !Category Music
<Bot> Oasis
<Bot> Metallica
<Bot> Aerosmith
Please make sure the interval of displaying is such that will not force him to quit due to flood.
Thanks!