DLMousey / DLMousey/sarcasm-bot
Audit Logging Command
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Every command issued to sarcasm bot should create an entry into a database of some description, probably sqlite in the beginning for proof of concept.
These entries should keep track of which user issued the command, which command was invoked, the input provided and the timestamp. If possible the ID of the message sarcasm bot posted should also be logged so it's possible to get the audit entry for a specific message.
There should also be a command added to sarcasm bot that posts the last _n_ entries (configurable via environment variables) to the channel the command was invoked in (I've seen sarcasm bot used heavily in the wild so limits are essential). This command should also leave an audit trail.
An optional "live" function should be added that also posts an entry when it's created to a nominated channel, this would again need to be configurable with a toggle envar and a channel ID envar
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.