Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Logging cog #138

Open
issy opened this issue Mar 27, 2021 · 2 comments
Open

[FEAT] Logging cog #138

issy opened this issue Mar 27, 2021 · 2 comments
Assignees
Labels
new-cog New cog for bot.

Comments

@issy
Copy link
Member

issy commented Mar 27, 2021

Overview

It'd be really useful to have a dedicated cog for logging, as our current logs from Dyno miss a lot. While we're at it we can also include some extra features that Dyno is lacking

Commands

TBD

DoD

Bot must be able to log the following

  • message edit
  • message deletion (must be able to show media in log)
  • member nickname change
  • member roles update

Stretch

  • log command errors
  • ability to send logs to graylog and/or a time series database such as InfluxDB or Prometheus
@issy issy added the new-cog New cog for bot. label Mar 27, 2021
@issy issy self-assigned this Mar 27, 2021
@issy
Copy link
Member Author

issy commented Mar 27, 2021

Discussion welcome on any other features you think should/shouldn't be included, as well as suggestions for command syntax

@tigattack
Copy link
Member

For command syntax I suggest something like
Base: [p]logger
Events: [p]logger event [enable|disable]
Example of events: msgedit, msgdel, nickchange, rolemembership?

Other:

[p]logger [enable|disable]
[p]logger logchannel <channel>

Other optional:

[p]logger <channel> <event> [enable|disable]

I'm sure we could continue to expand this further if necessary, but this seems like a good base at least.

One further thought I have is it may not be worth building in the functionality to track message edits. We've never used this due to the sheer level of spam it causes in the log channel, to the point where it's not even really that useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cog New cog for bot.
Projects
None yet
Development

No branches or pull requests

2 participants