Open nutinshell opened 9 years ago
Something like: !log [limit] [optionalsearch] ?
!log [limit] [optionalsearch]
would be cool, but add some context from match line, like 10 lines, maybe even better :)
I have a plugin that logs every word and the number of its recurrences in a chat (excluding some common words). Then if a user type "!log 2h" the bot outputs all words in decrescent order from the last 2 hours and the number of times that word was said, something like a "trending words" plugin. It's not an ideal solution, but for a group chat like ours that have more than 15 users talking about everything it's a good thing to keep you updated with the topics.
If you want I could post the code here.
@magalvao that's nice, thanks for sharing it :)
A log plugin for log group chat messages history, and could do search would be nice.